# Website chat

> Add a chat widget to your website. Visitors write to you there, the conversation appears in the same Whatsable inbox as WhatsApp, Instagram and Messenger, and your AI agent can answer.

Website chat puts a chat button on your website. A visitor clicks it and writes to you. The conversation appears in your Whatsable inbox next to your WhatsApp, Instagram and Messenger chats, and your AI agent can answer it right away. Any teammate can take over and reply from the inbox.

Website chat is included in every plan. It does not use one of your plan's channels. A visitor counts as a contact only once you or your AI agent reply to them, so messages nobody answers cost nothing. On the free plan, website visitors never count toward your contact allowance.

## What it does

- **One inbox for every channel.** A website conversation shows a globe icon in the [inbox](/features/inbox-conversations). Filter the inbox by channel to see only website chats.
- **Your AI agent answers.** Pick an [AI agent](/features/ai-chatbot) for the widget, and it replies to visitors with its own instructions and knowledge. When a teammate replies, the agent stops, as it does on WhatsApp.
- **Live typing.** The visitor sees when your agent or a teammate is writing, and the inbox shows when the visitor is writing.
- **Visitors keep their chat.** A visitor who comes back in the same browser sees the conversation and any reply you sent while they were away.
- **Only on your websites.** The widget runs only on the websites you allow, so nobody can copy your code to their own site.

## Add a widget to your website

**Create the widget**

In **Settings → Channels**, open **Add channel** and choose **Website chat**. Give it a name, such as "Main website".

**Allow your websites**

Add each website address where the widget may run, such as `https://www.example.com`. Use the address as it appears in the browser, without a path. `https://example.com` and `https://www.example.com` are two different websites, so add both if you use both.

**Pick an AI agent**

Choose the AI agent that answers visitors, or **No AI agent** to answer only by hand.

**Paste the code on your website**

Click **Copy embed code** and paste it before the closing `</body>` tag of every page where the chat should appear. On WordPress, Webflow, Wix or Shopify, paste it where the site lets you add custom code to every page.

## Pause or remove a widget

**Pause** hides the chat button on your website and keeps everything else. **Resume** shows it again. **Remove** takes the widget off your website for good. The conversations it already started stay in your inbox.

## How it works with other features

- **AI agent.** The widget's AI agent answers in the website chat only. Each widget has a monthly AI budget, which you set when you create or edit it, so a busy page cannot run up an unexpected AI bill. When the budget is spent, the agent stops answering until the next month (UTC), and visitors' messages still reach your inbox for a teammate to answer. A budget of 0 turns the agent off for that widget.
- **Team roles.** A member limited to certain channels sees website conversations only if they have access to that widget. See [Team roles](/features/team-roles).
- **Webhooks, Zapier and Make.** A visitor's message sends a `message.received` event with `channel` set to `web`. See [Webhooks](/features/webhooks).
- **API.** API v1 lists website conversations and messages with `channel=web`. Sending to a website visitor through the API is not available yet.

## What is not available yet

Website chat sends and receives text. Files, buttons, quick replies, colours and custom texts, a contact form before the chat, and follow-ups are coming later. A visitor's name, email and phone are not collected yet, so a new visitor shows as "Website visitor".

## FAQ

<details>
<summary>The chat button does not show on my website</summary>

Check four things. The widget is not paused. The address of your website, exactly as the browser shows it, is in the widget's allowed websites. The code is on the page, before `</body>`. If your site sets a Content Security Policy, allow the address in the embed code's `src`: add it to `script-src`, and add it to `connect-src` both as `https://` and as `wss://`.

</details>

<details>
<summary>Does a website visitor need WhatsApp?</summary>

No. The visitor chats in the browser. Nothing is sent over WhatsApp.

</details>

<details>
<summary>Can I use one widget on several websites?</summary>

Yes. Add every website address to the same widget, up to 20. Use a second widget when another team or another AI agent should answer that site.

</details>