Design and configure your website’s AI chat interface
Frames are the visual chat interface that your website visitors interact with. Think of them as the “face” of your AI - they control how the chat widget looks, behaves, and presents itself across different pages and devices. A well-designed frame creates an engaging, on-brand experience that encourages visitors to get the help they need.
Your chat widget is often the first point of contact between your AI and your customers. The right frame design:
Increases engagement - Visitors are more likely to use a chat that looks trustworthy and professional
Reinforces brand identity - Match your website’s colors, tone, and style seamlessly
Adapts to context - Show different messages and suggestions based on which page visitors are viewing
Removes friction - Guide users with clear welcome messages and suggested questions
Works everywhere - Delivers consistent experience across desktop, tablet, and mobile devices
A thoughtfully designed frame can increase chat adoption by 3-5x compared to default designs. Users trust and engage with interfaces that feel native to your brand.
Preview Suggestions: Display a popup with suggested questions after 5 seconds. Useful for proactively showing visitors what the AI can help with. Can be overridden per page using Rules.Allow Image Upload: Enable visitors to upload screenshots, product photos, or documents in conversations. The system scans and validates images before processing.
Allowed Origins: URLs permitted to embed this widget (CORS security). Format: https://example.com or wildcards https://*.example.com. Required for all domains where you’ll embed the widget.
The widget will not load on domains not listed in Allowed Origins. Always add your production and staging domains before deployment.
Whitelisted IPs: IP addresses granted higher request limits (for example, office IPs for testing). Only whitelist IPs you fully control.
Terms of Service URL and Privacy Policy URL appear as footer links in the chat widget. Always provide these for production deployments to build trust and meet compliance requirements.
Control the visual appearance to match your brand identity. The widget automatically detects user’s system preferences and applies the appropriate theme.
Configure separate color schemes for light and dark modes. Start by configuring light mode, then add dark mode by duplicating and adjusting colors for dark backgrounds.
Brand Color: Primary accent used for buttons, links, and highlights
Header Background: Background for the top section of the chat window
Chat Background: Background for the main conversation area
Chat Text: Primary text color for messages and content
Secondary Text: Color for timestamps and less prominent text
Ensure text colors have at least 4.5:1 contrast ratio with backgrounds (WCAG AA standard). The live preview panel updates in real-time as you adjust colors.
Frames support multiple languages simultaneously, making your AI agent accessible to global audiences. The widget automatically detects the user’s browser language and displays the appropriate messages, falling back to your primary language if their language isn’t configured.How Language Detection Works:When a visitor opens the chat widget:
The widget reads the browser’s language preference (for example, en-US, de-DE, fr-FR)
It matches this against your configured languages
If it finds a match, it displays that language’s start message and suggestions
If no match exists, it uses your first configured language (typically English)
The selected language persists throughout the conversation session
This automatic detection ensures visitors always see content in their preferred language without any manual language switcher.Adding Languages:Method 1: AI Translation (Recommended)The fastest way to add multiple languages:
Configure your primary language completely (start message and suggestions)
Click the language selector dropdown
Select Translate with AI
Review AI-generated translations for 17 major languages
Adjust translations to match your brand voice and cultural context
Save changes
AI translation produces high-quality results but always requires review. Pay attention to:
Formal vs. informal tone (varies by culture)
Idiomatic expressions that may not translate directly
Brand terminology and product names
Cultural appropriateness of suggestions
Method 2: Manual AdditionFor precise control or languages not covered by AI translation:
Click the language selector dropdown
Select Add Language
Choose from 100+ supported languages
Write start message and suggestions from scratch
Save changes
Use this method when you have native speakers who can create culturally appropriate content or when AI translations need significant customization.Translation Best Practices:
Start with your primary language: Perfect your English (or main language) content before translating. This ensures consistent quality across all languages.
Review all AI translations: AI is remarkably accurate but may miss nuances. Have native speakers review translations before deploying.
Adapt, don’t just translate: Good localization considers cultural context. A suggestion like “What’s included in the Pro plan?” might work in English but need restructuring in other languages.
Test with native speakers: Before going live, have team members or customers test the widget in their native language.
Update all languages together: When you change suggestions based on user data, update all language versions to maintain consistency.
Consider regional variations: Spanish in Spain differs from Spanish in Mexico. Use the most appropriate variant for your primary audience.
Supported Languages:The widget supports 100+ languages including:
Major European languages (English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, etc.)
Asian languages (Chinese, Japanese, Korean, Hindi, Thai, Vietnamese, etc.)
Middle Eastern languages (Arabic, Hebrew, Turkish, etc.)
Other global languages (Russian, Indonesian, Malay, Filipino, etc.)
AI translation covers the 17 most common languages. You can add all others manually.
The first message visitors see when opening the chat. Welcome users, set expectations for what the AI agent can help with, and encourage engagement.Creating effective start messages:
Keep it concise (2-3 sentences maximum)
Mention 2-4 specific capabilities
Use friendly, conversational tone
End with a question to prompt response
Examples:
Hi there! I'm here to help you find answers about [your product/service].What can I help you with today?
Welcome! I can help with product information, account questions, technical support, and order status. What would you like to know?
Start messages that are too long get skipped. Users want to ask their question quickly - guide them but don’t overwhelm.
Pre-written questions users can click to start conversations instantly. Suggestions reduce friction and showcase capabilities, increasing engagement by up to 60%.Best Practices for Suggestions:
Use actual customer questions - Review your support data to find common queries
Keep them short - Under 50 characters per suggestion
Write 3-5 suggestions - Enough variety without overwhelming
Cover different topics - Balance between billing, features, technical, and general questions
Update quarterly - Refresh based on what users actually ask
Good vs Poor Examples:
Good
Why
Poor
Why
”How do I reset my password?”
Clear, specific, common question
”Help”
Too vague
”What’s included in the Pro plan?”
Specific product question
”I have a question about enterprise tier billing cycles”
Too long
”When will my order ship?”
Direct, actionable
”Click here for more info”
Not a question
You can generate suggestions using AI (based on your knowledge base) or write them manually. Always review AI-generated suggestions to match your brand voice.
Alignment: Left or right side of the screen. Right is standard and familiar to users. Use left when right side has conflicting elements.Side Margin: Distance from screen edge. Default: 20px. Common values: 16px to 32px.Bottom Margin: Distance from screen bottom. Default: 20px. Increase to 80px+ if you have cookie banners or bottom navigation.Margin values accept any CSS unit (px, rem, em). We recommend px for consistency.
Customize the launcher button background color. Default matches your brand color from theme settings. Use a color that stands out but harmonizes with your site. Ensure visibility on different pages - a color that works on your homepage might not be visible on darker pages.
Show different messages and behaviors based on where users are on your website. Contextual start messages can increase engagement by 2-3x compared to generic messages.Use cases:
Product pages: “What are the features?” or “Is this compatible with my setup?”
Pricing pages: “Which plan is right for me?” or “Can I upgrade later?”
Checkout pages: Disable preview popup to avoid disrupting purchase flow
Support section: Technical questions and billing help
Blog posts: Different suggestions for readers vs. customers
Use patterns to match specific pages or sections of your site.Wildcard types:
* - Matches any characters except slashes (/)
** - Matches any characters including slashes (/)
Common patterns:
Pattern
Matches
Use Case
example.com/pricing
Only pricing page
Specific page customization
example.com/blog/*
All blog posts (one level)
Blog category pages
example.com/docs/**
All documentation pages
Entire section
example.com/products/*/specs
Product specs pages
Specific page type across products
**checkout**
Any page with “checkout”
Match across domains
Testing patterns:
Create or edit a rule
Click Test next to the URL pattern field
Enter a pattern and test URL
See normalized versions and match result
Adjust pattern until it matches correctly
Normalization: Trailing slashes, query parameters (?id=123), and URL fragments (#section) are ignored during matching. This ensures consistent behavior.
Pattern examples for common scenarios:
# Homepage onlyexample.com# All product pagesexample.com/products/**# Pricing and checkoutexample.com/{pricing,checkout}# Blog posts but not blog homepageexample.com/blog/*/**# Entire shop sectionexample.com/shop**# All pages (catch-all)**
Messages Rule: Override the start message and suggestions for specific pages. Examples: “Comparing plans? I can help you choose!” (pricing page) or “Interested in [product]? I can answer questions!” (product page).Preview Rule: Enable or disable the suggestion popup for specific pages. Disable on checkout flows, forms, or video pages to avoid disruption. Enable on landing pages or complex product pages to proactively engage visitors.
When multiple rules match a page, the most specific rule wins:
Exact URL matches take priority
More specific wildcards beat less specific
Later rules in the list override earlier ones
Example priority:
Rule 1: example.com/** (Least specific - applies everywhere)Rule 2: example.com/pricing (More specific - pricing page only)Rule 3: example.com/pricing?plan=pro (Most specific - with query param)
On example.com/pricing?plan=pro, Rule 3 takes priority because the system normalizes query parameters and Rule 3 is most specific to the pricing page.
Rules are evaluated in order. If you have overlapping patterns, the last matching rule’s settings will be used. Test thoroughly to avoid unexpected behavior.
The Web SDK allows programmatic control of the widget via JavaScript. You can open/close the chat, send messages programmatically, and listen for events. This enables use cases like opening chat from custom buttons, pre-filling messages from links, tracking engagement in analytics, and A/B testing different frame configurations.For complete Web SDK documentation and embed details, see Website Integration.
Install the widget on your website with platform-specific instructions
Deployment Versioning
Connect frames to AI versions and manage releases
Your chat widget is the primary way customers interact with your AI. Invest time in designing a frame that represents your brand well and guides users to the right answers - the engagement improvements will be measurable and significant.