- Two ways to integrate
Embed the widget
Identity verification flows
PostMessage reference
Two ways to integrate
Pick the model that matches how you manage users.
| Model | How it works | Best for |
|---|---|---|
| Direct API | Your server creates users via the Direct API and hands the widget a short-lived preauth token when it asks for one. | Customers with a backend who want to manage user identity themselves. |
| Server Start | Point the iframe at /api/users/start?key={hostKey} and the widget handles registration, login, and tokens end-to-end. | The simplest possible embed — no backend integration required. |