# Add a chat widget to your website

> Let visitors message you from your website — replies continue by text, even after they leave.


## Why use it

A chat widget catches visitors while they're interested. Unlike most chat tools, One Space's widget asks for a **name and phone number**, so the conversation continues **by text** after they leave your site — and they become a contact in your CRM.

## Set it up

1. Go to **Sites → Chat Widget** and click **Create widget**.
2. Choose the style: **chat bubble** or **SMS/email form**.
3. Customise the **greeting**, **colours**, **avatar** and the fields you ask for.
4. Turn on **Conversation AI** if you want an AI assistant to answer common questions — see [Conversation AI](/articles/conversation-ai/).
5. Click **Save**, then **Get code**.

## Install it

- **One Space websites and funnels:** add it from the site's **Settings → Chat widget** — no code needed.
- **Other websites:** paste the code before `</body>` in your site's footer code (WordPress: a header/footer plugin; Squarespace: *Code injection*; Wix: *Custom code*; Shopify: `theme.liquid`).

> [!TIP]
> Set **business hours** on the widget, so visitors outside opening times see when to expect a reply.

Messages from the widget appear in [Conversations](/articles/unified-inbox/) like any other channel.
