> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intavia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up website chat

> Add and personalise your practice chat, test it, and put it on your website.

Set up and test the chat in **Channels** before patients can use it. Give the install code to the person who looks after your website if you don't update it yourself.

## 1. Add the chat

Open **Channels** and choose **Add website chat**. Give the chat a name, choose the receptionist who will answer, and enter your website address. If your website isn't ready, you can add its address later. Choose **Add website chat** to save it. The chat starts off.

![The Status card shows the new Harbour Dental chat is off.](https://mintcdn.com/intavia/ru10XHoE4gykCuWB/images/website-chat/website-chat-page-off.webp?fit=max\&auto=format\&n=ru10XHoE4gykCuWB\&q=85\&s=c604cb82d42436b12ed2ba7e5f25835c)

## 2. Make it yours

Choose **Edit look and words** to set up what patients see. Add your practice name, logo and colour, and choose where the chat button sits. Preview the start screen, the chat and the closed message, then choose **Save changes**.

Write a greeting and suggested replies that sound like your practice. Add your privacy notice link and the phone number patients should see when chat is closed. You can reword the **AI-assistant line**, but you can't leave it blank. Choose **Save chat words**.

Decide whether the chat should book, move and cancel appointments. You can set this when you switch the chat on or change it later in **Status**. When bookings are off, your receptionist takes the patient's details and passes appointment requests to your team.

![Look and words settings and a live preview of the Harbour Dental chat.](https://mintcdn.com/intavia/ru10XHoE4gykCuWB/images/website-chat/look-and-words.webp?fit=max\&auto=format\&n=ru10XHoE4gykCuWB\&q=85\&s=3d659932934408e0e775c3ea6c69f54a)

## 3. Test the chat

Choose **Test the chat**, then **Start test**. You can test while chat is off, paused or on. Ask a question a patient might ask. To try a handoff, ask for a call back and give a made-up name and contact number.

Leave **Show this test in Conversations** off to keep the test out of your team's list. It's off by default. Turn it on before you start if you want to see how the conversation and any task will look to your team. The conversation and any task it creates are labelled **Test**. Tests don't change your diary.

![Test the chat with the Show this test in Conversations switch off.](https://mintcdn.com/intavia/ru10XHoE4gykCuWB/images/website-chat/test-the-chat.webp?fit=max\&auto=format\&n=ru10XHoE4gykCuWB\&q=85\&s=7bd8ae0076cbf01c9e3ff37995406c89)

## 4. Install it on your website

1. Under **On your website**, add every address where the chat should appear in **Allowed websites**. Add both `www.example.com` and `example.com` if visitors can use both. They count as two addresses.
2. Choose **Copy code**. In your website's shared page template, paste the code just before `</body>` and publish the change. Add it only once per page.
3. After you [turn the chat on](#5-turn-it-on), open the published site in a private browser window. Check that the button appears, open it, and send a question. Follow a link to another page in the same tab and check that the chat is still there. If the button is missing, check that the exact address is allowed, the code is on the published page, and the chat is on. Give it about a minute and reload.

> [accordion] Put the chat inside a page instead
>
> Open **Other ways to install** and choose **Copy iframe** under **Inside a
> page**. Paste that code where the chat should appear, such as on your
> contact page. Visitors see the chat in the page instead of opening it from a
> floating button. To check the install, open the published page and send a
> question there.

> [accordion] If your website uses a Content Security Policy
>
> Allow the Intavia address from the install code in `script-src`, `frame-src`
> and `connect-src`. The floating button also needs inline styles allowed in
> `style-src` (or `style-src-elem` if you set it separately). If your policy
> blocks inline styles, put the chat inside a page instead and set its size in
> your website's stylesheet.

## 5. Turn it on

In **Status**, choose whether to switch on with or without bookings. The confirmation shows what needs to be ready. If a check hasn't passed, fix the item it points to and try again. Confirm, then check the chat on your published website.

![The switch-on confirmation with a checklist of what needs to be ready.](https://mintcdn.com/intavia/ru10XHoE4gykCuWB/images/website-chat/switch-on-dialog.webp?fit=max\&auto=format\&n=ru10XHoE4gykCuWB\&q=85\&s=27c6622485da630e7d37806938650a05)

![The settings page after the practice turns on website chat.](https://mintcdn.com/intavia/ru10XHoE4gykCuWB/images/website-chat/website-chat-page-on.webp?fit=max\&auto=format\&n=ru10XHoE4gykCuWB\&q=85\&s=1e92164de6e28c348909b31f38d30d93)

## Managing the chat

* **Rename:** Open the **⋯** menu and choose **Rename**. Patients see this name until you add a practice name in **Look and words**.
* **Pause or resume:** Choose **Pause chat** to stop chats without affecting calls. Choose **Resume chat** to bring it back. The confirmation runs the checks again and tells you whether bookings will come back on. To switch the chat off, choose **Off** in **Status**. If it's paused, choose **Switch off** in the same card.
* **History:** See who made each change and when in **History**.

Only admins and owners can set up the chat.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.