Skip to main content
The web widget lets visitors chat with your AI agent directly on your website. It’s fully customizable and works on any website.

Quick Setup

  1. Go to Integrations > Web Widget
  2. Copy the embed code
  3. Paste it before the closing </body> tag on your website
  4. Your widget is live

Embed Code

Customization

Appearance

Behavior

Advanced Configuration

Pass additional options via data attributes:

Available Options

JavaScript API

Control the widget programmatically:

Platform-Specific Setup

  1. Go to Appearance > Theme Editor
  2. Open footer.php
  3. Paste embed code before </body>
  4. Save changes
Or use a plugin like Insert Headers and Footers.

Troubleshooting

  • Verify the embed code is before </body>
  • Check that the agent ID is correct
  • Ensure no JavaScript errors in console
  • Disable ad blockers temporarily
  • The script loads asynchronously
  • First load may take 1-2 seconds
  • Subsequent visits use cached resources
  • Widget uses isolated styles (Shadow DOM)
  • If issues persist, check for global CSS overrides
  • Contact support with your URL