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 addasync or defer — the Connect class must be available when you initialize it.
HTML
Initialize Connect
Create aConnect instance with your options, then call setup() and open() — typically on a button click.
JavaScript
Options
Callbacks
Other platforms
To launch the same flow in a mobile or React app, use a Widget SDK — those need only thewidget_id.