Skip to main content
Embed a published EasyOnboard flow on your site with the Connect JavaScript widget. Load the script, initialize it with your keys and widget_id, and open it on a click.

Add the widget script

Load the widget from Dojah’s CDN. Don’t add async or defer — the Connect class must be available when you initialize it.
HTML

Initialize Connect

Create a Connect instance with your options, then call setup() and open() — typically on a button click.
JavaScript

Options

Callbacks

Don’t decide on the client. An onSuccess means the flow finished — not that the user passed. Confirm the outcome server-side — see Flow results & webhooks.

Other platforms

To launch the same flow in a mobile or React app, use a Widget SDK — those need only the widget_id.