Getting Started
The latest version of the SDK is:
There are two ways to use Embedded Flow. Both require some code:
- Generate inquiries from an inquiry template (Minimal code required)
- Embed the web SDK and configure it with your inquiry template ID.
- A new inquiry is created each time a user starts the flow.
- Best for: small numbers of users, simple use cases
- Warning: Users who load your page multiple times will create duplicate inquiries.
- Pre-create inquiries via API (More code required)
- Embed the web SDK.
- For each new user, create a new inquiry ID via API, then pass the inquiry ID to the SDK.
- Best for: High volume and/or personalized experiences
- Recommended for production use
Note that you can get started with the simpler implementation, and build up to the more scalable approach later.
Quickstarts
Quick reference
Embed Code Snippet
Creating inquiries through the Embedded integration can be easily achieved with a short code snippet. You’ll only need your inquiry template ID which can be found in the Documentation section of your Dashboard.
To permit the Persona iframe to render on your domain, see Security > Embedding the Persona iframe.
Callbacks
You can also use optional callbacks for advanced Event Handling.
javascript
Methods
Use the client’s Methods to show, hide, or cleanup the embedded flow widget.
javascript

