Overview
Flow Builder can generate an embeddable chat widget that you drop into any website. The widget runs your flow as a chat assistant, giving visitors a conversational interface without leaving your site.Setup
Generate Widget Code
Click the Deploy or Widget button in the toolbar. Configure colors, position, and welcome message.
Customization Options
| Attribute | Description | Default |
|---|---|---|
data-flow-id | Your flow’s unique ID (required) | — |
data-position | bottom-right or bottom-left | bottom-right |
data-primary-color | Hex color for header and buttons | #4F46E5 |
data-welcome-message | Initial message when opened | — |
data-button-text | Launcher button text | Chat |
Technical Details
- Shadow DOM — Widget styles are completely isolated from your site’s CSS
- localStorage — Conversation persists across page navigations and refreshes
- SPA compatible — Handles React, Vue, Next.js navigation automatically
- Lightweight — Loaded asynchronously, no impact on Core Web Vitals
- CSP — Add
flow.assistable.aitoscript-srcandconnect-srcif using strict Content Security Policy
Related Pages
Testing
Test your flow before embedding
Voice Connection
Deploy to voice instead
API Key Setup
Required before deployment
