Skip to Content
DocumentationAdmin Back-officePasskey LoginStep 2: Load the SDK (CDN or npm)

Step 2: Load the SDK (CDN)

⏱ 3 min

Load Transcodes once per app with HTML / CDN (webworker.js).


Option A — HTML / CDN

Authentication Toolkit (passkeys, step-up MFA, audit):

index.html
<script type="module" src="https://cdn.transcodes.link/{YOUR_PROJECT_ID}/webworker.js" ></script>

Replace {YOUR_PROJECT_ID} with the Project ID from the Transcodes Console.

Installation Guide in Dashboard

After load, use the global transcodes object (window.transcodes).

Framework guides

StackGuide
ReactReact
Next.jsNext.js
VueVue
VanillaVanilla JS

Verify (CDN path)

In the browser console:

console.log(transcodes); // e.g. openAuthLoginModal, token, on, trackUserAction, …

SDK is ready. Continue to Step 3: Open the login modal.

Last updated on