Widget Overview
Add Prestatech onboarding to your product — one embed, no flow to build.
The Prestatech widget is a ready-made onboarding flow you drop into your website or app. Your applicants upload documents, connect a bank, and pass identity and credit checks — all guided, localized, and styled to your brand.
You can embed it two ways — pick whichever fits your stack:
| iFrame | SDK (web component) | |
|---|---|---|
| Best for | Any site, zero tooling | Modern web apps (React, Vue, Angular, plain JS) |
| Add it with | An <iframe> tag | One <presta-agent-widget> tag |
| Results arrive as | window messages | DOM events |
| Guide | iFrame Integration | SDK Integration |
Both do the same thing and take the same three steps.
How it works — 3 steps
-
Create an agent in the Prestatech portal. An agent defines what your applicants must provide (documents, bank connection, credit check, …). You get an Agent ID. → Create your agent
-
Start a session from your backend. Call the Generate Widget Session endpoint with your Agent ID and the applicant's name. You get back a ready-to-use iFrame URL and a token.
-
Embed the widget — drop the iFrame URL into an
<iframe>, or pass the token to the SDK tag — and listen for a completion event.
Two ways to sign the applicant in
- Pre-authenticated (recommended) — start a session (step 2) and pass the returned token/URL to the widget. The applicant goes straight into the flow.
- One-time passcode (OTP) — embed with just the Agent ID and no token. The widget asks the applicant to verify themselves with a passcode before starting. No backend call needed.
Ready? Start with Create your agent.