Configuration Options
Customize the widget appearance using window.__ansa_config:
All Options
Most of these settings can be configured in the dashboard under Settings > Widget. The embed code will automatically use your saved settings.
Theme Options
Light Theme
Dark Theme
Suggested Messages
Add quick-reply buttons that appear at the start of a conversation:
Welcome Bubbles
Show floating message bubbles that animate in when the widget loads:
Remove Branding
On Growth and Pro plans, you can customize or remove the footer:
Removing branding is available on Growth and Pro plans only.
User Feedback
By default, thumbs up/down buttons appear on assistant messages to collect user feedback. You can toggle this in the dashboard under Settings > Widget > Collect User Feedback.
Feedback is tracked in your analytics and helps you identify areas for improvement.
Customize the floating chat button appearance:
Custom Icon
Use an emoji, URL, or uploaded image as the button icon:
Escalation Settings
Configure how users can request human support:
See Escalations & Human Handoff for full escalation configuration.
Multi-language Support
Override widget text for different languages:
You can also change the language dynamically:
See Multi-language for the full list of supported languages.
Full Example