1. Mint a session token on your backend
Your API key stays on your server. Exchange it for a short-lived session token and return that to your frontend.2. Mount the flow
3. Handle the decision
onComplete fires once, with the server’s authoritative result:
Handling token expiry
Session tokens are short-lived by design. When one expires the SDK firesonExpire rather than failing the flow — mint a fresh token and hand it back:
What the dashboard controls
The flow renders strictly from your dashboard configuration: which screens appear, which documents are offered, whether each is captured front-only or front-and-back, and the theme. Change it in the dashboard, not in your code. No redeploy is required.The intro screen shows the end user a language picker and a light/dark toggle. Both switch live and drive every subsequent screen. Your
language and colorScheme options set the starting values.Before you go live
Embedding requirements
The camera and CSP headers your page must allow. The most common launch blocker.
Configuration reference
Every option and every controller method.