Web chat runs on the same managed conversations as two-way texting, so everything you know about conversations, memory, and the Messages API applies here too. Web chat messages appear in your Message Logs and Conversations pages with a Web badge.
How it works
- You enable the widget on an agent and list the websites it may run on.
- You paste one line of code into the website.
- Visitors click the bubble and chat. Replies come from your agent’s prompt, with the recent conversation kept in context per visitor.
- Every conversation shows up in your dashboard under Conversations, and each message in Message Logs.
Setup
Turn on the widget
Open your agent, go to the Widget tab, and list the website domains the widget is allowed to run on (one per line, for example
www.example.com). Click Turn on the widget.Make it yours
Everything visual is configurable on the agent’s Widget tab, with a live preview:- Display name and avatar image shown in the chat header
- Button label on the floating bubble (for example “Chat with Ava”)
- Welcome message shown when a visitor opens the chat for the first time
- Accent color, position (any corner), and light/dark theme
- Message placeholder text in the input
The web chat prompt
Replies use the agent’s Web chat prompt (set on the Widget tab) when you’ve added one, and otherwise fall back to the agent’s main prompt — so the widget works out of the box on any agent. Add a web chat prompt when website chat should have its own tone or rules, separate from calls and texting.Memory and conversations
The widget remembers each visitor automatically. A visitor who browses five pages, leaves, and comes back tomorrow continues the same conversation with full context.- Threads appear on the Conversations page (and the Conversations API) alongside your texting threads, marked Web.
- After a period of inactivity the conversation starts fresh, using the same per-agent idle window as texting. See Managing conversations.
- Clearing a thread from the dashboard makes that visitor start over as brand new.
Staying in control
- Allowed websites. The widget only runs on the domains you list. On any other site it stays hidden and prints a short explanation in the browser console for your web team.
- Sensible limits. Conversations have per-minute and per-day message budgets so a stuck script or bad actor can’t run up your usage. Visitors see a friendly “come back later” note if a limit is reached.
- No secrets in the page. The embed key in your snippet is public by design and only works on your allowed domains.
Troubleshooting
The bubble doesn’t appear
Solution:- Open the browser console on the page. The widget logs one line explaining exactly why it did not start (domain not on the allowlist, widget turned off, or an invalid key) and what to change.
- Confirm the widget is on: agent Widget tab, the switch at the top.
- Confirm the page’s domain is listed under Allowed websites. Subdomains count separately, so
www.example.comandexample.comare different entries.
Replies stopped coming
Cause: the conversation hit its per-minute or daily message budget, or the site is offline. Solution: wait a moment and try again. Budgets reset automatically. If it persists, check the conversation on the Conversations page.The website has a strict Content Security Policy
Solution: allowhttps://widget.revring.ai in script-src and https://api.revring.ai in connect-src.
Next steps
Two-way texting
The same conversations and memory, over SMS
Conversations API
List and clear conversation memory programmatically
Prompting & Variables
Shape how your agent talks
Webhooks
Connect conversations to your systems