# Add a chat widget to your website

> Create a chat bubble, choose its greeting and colour, ask for an email or not, send an automatic text back, then paste the code into your site and answer chats from Conversations.

Source: https://docs.mycrmsim.com/guides/forms-and-chat-widget-widget
Updated: 2026-11-24

### Create the widget

![New Chat Widget: name it, change the auto-reply, then create it](https://docs.mycrmsim.com/assets/new-widget-BLFz8gbN.gif)

1. In **Lead Capture**, open the **Chat Widget** tab and click
   **New Chat Widget**.
2. **Appearance**: a **Name** for you, the **Greeting** (*Hi there 👋*
   unless you change it), the **Intro text** and the **Bubble & accent
   color**.
3. **Visitor Details**: the visitor's name and mobile number are always
   asked. Choose whether to ask for an email: **Don't ask**, **Optional** or
   **Required**. Add **Tags applied to chatting contacts** if you want.
4. **Auto-reply Text** is on unless you switch it off: it texts the visitor
   straight away. Change the wording if you like. The default is *Thanks for
   reaching out! We got your message and will text you back shortly.*
5. **Spam Protection**: limit it to your own sites with **Allowed
   websites**, and set the **Daily chat limit** (500 a day unless you change
   it).
6. Click **Create Widget**.

### Put it on your site

1. In the widget list, click **Get embed code**.
2. Paste the code just before the closing `</body>` tag on any page. A chat
   bubble appears bottom-right.

### Answer chats

The visitor's message lands in **Conversations** as a new chat with that
contact. Your replies, and the auto-reply, go to their mobile number by text,
through the sub-account's normal [message routing](https://docs.mycrmsim.com/guides/message-routing).
There's no line picker on the widget.

To see every chat a widget started, click **View chats** on its row, or the
chats number. Each row shows when it **Started**, the **Contact** (click to
open them and reply), the **First message**, how many **Messages** there
are, whether it was a **New contact** or an **Existing** one, and the page
it came from (**From page**).

![A widget's chats: who, the first message, how many messages and from which page](https://docs.mycrmsim.com/assets/chats-CEWs6m5X.png)

> **Note:** The widget doesn't answer by itself. To reply automatically, build
> a workflow with the **Chat Started** trigger, or turn on an
> [AI agent](https://docs.mycrmsim.com/guides/ai-agents) for these contacts.
