Basic setup
The simplest integration—just load and go:Custom branded theme
Match the widget to your brand colors:Help button integration
Open the widget from your own button instead of (or in addition to) the floating button:Contextual help
Send a pre-filled question based on where the user is on your site:Event tracking
Track widget usage for analytics:Sync host auth before opening
UseonAuthReady when you want to make an auth decision before the widget is opened:
Handle widget auth clicks yourself
UseauthClickEvents.mode when you want the widget to emit auth click events but let your app decide what to do next.
observekeeps the normal widget auth flowinterceptstops the normal widget auth flow so your page can handle auth itself
voltai.login() and voltai.logout() still work normally in intercept mode.
Widget control buttons
Create a custom control panel:Form with topic selection
Let users choose a topic before starting a chat:React integration
Using the widget in a React application:Make sure the widget script is loaded before your React app mounts. You can add it to your
index.html or load it dynamically.Multi-organization authenticated users
If your users can access more than one organization, setdefaultOrgName so the widget prefers the org you expect: