Set up web chat for a client
Your client’s AI agent can answer visitors on their website in a chat window, and every website chat appears in the client’s portal next to their calls, with the full transcript. For ElevenLabs clients, you set up web chat from Voice AI Portal and paste one snippet into the client’s website. For Retell AI and Vapi clients, you set up the chat in the provider, and the portal shows the chats for you.
ElevenLabs clients: set up web chat from the portal
Section titled “ElevenLabs clients: set up web chat from the portal”- You
Switch on chat channels
The agency owner turns it on in Client settings.
- You
Set up the agent
Choose the chat mode, first message and allowed websites.
- You
Try it on the test page
The test page shows the chat as visitors will see it.
- You
Add the code to the website
Paste the embed code before the closing body tag.
- Voice AI Portal
Lists every chat
Chats appear in the client's Conversations as Web chat.
Before you begin
Section titled “Before you begin”- A client whose agents run on ElevenLabs. See Connect ElevenLabs.
- The agent selected for this client. Web chat works with the agents selected for the client in Agents & numbers. See Manage workspace assets.
- A public agent. The website chat works with agents that do not require authentication. If the agent you choose requires it, the portal tells you, and you turn authentication off for that agent in ElevenLabs.
- The right role. The agency owner switches chat channels on for a client. After that, the owner and agency admins can set up web chat.
Set it up
Section titled “Set it up”-
Open the client’s settings
Go to Clients and select the settings icon on the client’s row. Or, inside the client, select Client settings in the Agency only box of the sidebar.
-
Go to Chat channels
In the section menu, under Access & integrations, select Chat channels. The section is called WhatsApp & web chat.
-
Turn on the switch
If it is off, turn on Manage WhatsApp and website chat for this client. It saves straight away. Only the agency owner can change this switch. When you add a new ElevenLabs client, the owner can also turn it on at the Review step. See Create a client workspace.
-
Pick the agent
On the Web chat tab, choose the agent in Agent. The list shows the agents selected for this client.
-
Choose the chat mode
Under Chat mode, choose how visitors talk to the agent:
Option What visitors do Chat only Visitors type; the agent replies in text. Voice + text Visitors can talk or type. Voice only Visitors talk to the agent. Chat only applies to every channel the agent answers, including phone calls. If the agent also takes calls, use a separate agent for web chat.
-
Write the first message
In First message, enter what the agent says when a visitor opens the chat, up to 2,000 characters.
-
Add the allowed websites
Under Allowed websites, enter a website address, such as
www.example.com, and select Add. Only these websites can open the chat. List each subdomain separately, for exampleexample.comandwww.example.com. You can allow up to 10 websites per agent, or leave the list empty to allow any website. -
Save the settings
Select Save changes. It becomes available once you change something. You see Web chat settings saved, and the chat mode, first message and allowed websites are saved to the agent in ElevenLabs, so the live chat uses them straight away.
-
Try the chat
Select Open test page, next to Save changes. The page shows the chat as visitors will see it: open the chat in the corner to start a test conversation. If the agent’s first message uses a variable, enter a test value and select Start test chat first. Test conversations appear in the client’s Conversations like any other.
-
Add personalisation values (optional)
If the agent uses dynamic variables, enter their values in Personalization (optional) as JSON, for example
{"business_name": "Acme Dental"}. The names must match the agent’s dynamic variables. If the saved first message uses a variable, the portal names it and asks for a value, because the chat will not start on the website without one. -
Copy the embed code
Under Embed code, select Copy. The code is two short lines, the chat element with the agent’s ID and the ElevenLabs widget script, and it includes any personalisation values you entered.
-
Add it to the client’s website
Paste the code into the client’s website just before the closing
</body>tag. The chat appears in the corner of each page that has the code.
Bill the client for web chat
Section titled “Bill the client for web chat”With client billing, the portal bills a website conversation as a chat when ElevenLabs records it as text only, and every conversation on a Chat only agent is. Chats never use the client’s minutes: they are billed per conversation or per message as the client’s plan says. Conversations on a Voice + text or Voice only agent can be billed as web calls, which use minutes.
- Use a chat-only agent for web chat. Choose Chat only for the agent on this tab, and keep a separate agent for phone calls. Its website conversations are billed as chats. An agent that takes both voice and chat is judged as voice, so on Track and enforce it stops starting conversations, chats included, when the client’s minutes run out. A chat-only agent keeps chatting while the client has chats left.
- Give the client’s plan a chat allowance with Web chat ticked under Channels that count. See Bill your clients for chats.
- Selling calls and chats together? See Sell voice, WhatsApp and web chat bundles.
With Website widget needs minutes on, a chat-only agent’s widget conversations are judged as chats, not calls.
Retell AI and Vapi clients
Section titled “Retell AI and Vapi clients”For Retell AI and Vapi clients, you set up the chat agent or widget in Retell AI or Vapi, and Voice AI Portal shows those chats in the client’s portal. Their SMS conversations appear the same way, labelled SMS.
-
Set up the chat in the provider
Set up the chat agent or chat widget in Retell AI or Vapi and add it to the client’s website, following the provider’s own guide.
-
Retell AI: add the chat agent to the client’s agents
Retell AI runs chats on a separate chat agent, and the portal shows chats only for the agents selected for this client. In Client settings, go to Agents & numbers, select Refresh, select the chat agent, then select Save changes.
-
Vapi: check the assistant is selected
Vapi chats run on the assistant that answers them. If that assistant is already selected for the client in Agents & numbers, there is nothing more to do. If the chat uses another assistant, select it there and select Save changes.
New chats appear in the client’s portal the next time a page loads. See Connect Retell AI and Connect Vapi.
What your client sees
Section titled “What your client sees”- Conversations: every website chat sits next to their calls, labelled Web chat. The Channel filter shows only web chats, or any other channel the client has.
- The chat transcript: a web chat opens as a Web chat conversation with a chat-style transcript. In the list, chats show their message count where calls show a duration.
- Totals and analytics: chats count in the client’s conversation totals and analytics. Once a client has chats, Analytics shows Total Conversations instead of Total Calls, with calls and chats counted separately, and its Channel filter narrows every figure to web chat.
- Staff time handled: each completed chat adds to the staff time the client’s agents covered. See How staff time handled works.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to do |
|---|---|
| Chat channels is not in the section menu | The section shows for ElevenLabs clients, to the agency owner and admins. |
| “Add an agent to this client to set up web chat.” | Select an agent for the client in Agents & numbers, then Save changes. |
| “This agent requires authentication.” | Turn off authentication for that agent in ElevenLabs. The website chat works with public agents. |
| An agent shows (unavailable) and cannot be chosen | The portal could not load it from ElevenLabs. Check that the agent still exists in the client’s ElevenLabs account. |
| Save changes stays greyed out | Nothing has changed since the last save. |
| “Up to 10 websites can be allowed per agent.” | Remove a website you no longer need, or leave the list empty to allow any website. |
| The chat does not appear on the client’s website | Check that the website address is in Allowed websites, with each subdomain listed, and that the embed code is on the page. |
| The chat does not start on the test page | The test page opens on the portal’s own address. When Allowed websites leaves that address out, the test page says so above the chat and names the address. Add it to Allowed websites while you test, or test on the client’s website. |
| The portal warns that the first message uses a variable | Add a value for it in Personalization (optional), then copy the embed code again. |
| Retell AI chats do not appear | Add the Retell AI chat agent to the client’s agents in Agents & numbers, then Save changes. |