
The flow opens with an overview of the steps in your workflow.
Before you start
You need:- A
client_idandclient_secretfrom the idto dashboard. The secret stays on your server. - A
workflow_template_id: the UUID of the workflow that decides which steps run and in what order. - A backend route that mints a short-lived client token. See Authentication and the Node and Express recipe.
Install
Add the script tag once, on any page that opens the flow:window.IDtoSDK with two methods, open(config) and close().
Quick start
1
Mint a client token on your server
Call
POST /auth/sdk/token with your client_id and client_secret. The response carries access_token (the client token) and expires_in in seconds. Return only the token to the browser.2
Open the flow
3
Confirm the result on your server
Browser callbacks drive your UI only. Before you grant access, confirm the session from your server with the session result recipe or a signed webhook.

A PAN capture step inside the flow.
Environments
The token must come from the same environment the flow points at. Staging runs real checks, see Environments.
Configuration
Required
Session and user
Matching
Branding and display
Callbacks

The completion screen shown after the last step.