Basic Installation
Add the script before the closing</body> tag:
YOUR_AGENT_ID with your agent’s ID from the dashboard.
Finding Your Agent ID
- Go to Agents > select your agent
- Click Integrations > Web Widget
- Copy the agent ID from the embed code
Script Attributes
Installation Examples
Standard HTML
React / Next.js
Vue.js
Angular
Single Page Applications (SPA)
For SPAs, ensure the script is only loaded once:Content Security Policy (CSP)
If your site uses CSP, add these directives:Verifying Installation
After adding the script:- Open your website
- Look for the chat bubble in the corner
- Click to open and test a message
- Check Chat History to see the test session
Common Issues
Widget not appearing
Widget not appearing
- Verify script is before
</body> - Check agent ID is correct
- Look for JavaScript errors in console
- Ensure no ad blockers are interfering
Multiple widgets appearing
Multiple widgets appearing
- Script may be included more than once
- Check for duplicate script tags
- In SPAs, ensure proper cleanup on navigation
Widget conflicts with other scripts
Widget conflicts with other scripts
- Widget uses Shadow DOM for style isolation
- Check for global event listeners interfering
- Contact support with specific error messages

