## What it's for

The chat widget is the little bubble that shows at the bottom of your website. Visitors click it to message you live. It's the easiest way to turn a visitor into a customer: they ask their question, and you (or your AI agent) reply right away.

## Create the "Website" inbox

1. Go to **Settings → Inboxes → Add inbox**.
2. Choose **Website**.
3. Give the inbox a **name** (e.g. "Website chat").
4. Enter your **website address** (your domain URL).
5. Pick the widget **color**, the **welcome heading** and the **welcome message**.
6. Turn on the **automatic greeting** if you want one.
7. Confirm: Madyis Hub generates a **code to copy**.

## Install the code on your site

1. Copy the code shown at the end of setup.
2. Paste it into your site, just before the closing page tag (your site editor or developer knows where it goes).
3. If you run a Shopify store, you can install the chat **through the Madyis Hub Shopify app**, without touching any code.

## Customize the chat

After creating it, open the inbox in **Settings → Inboxes** and adjust:

- The widget **color** and **position**.
- The **welcome message** shown when it opens.
- The **avatar and name** visitors see.
- The **pre-chat form** (ask for a name or email before chatting).
- The chat's **business hours**.
- The **assigned AI agent**, which can reply automatically.

> Tip: test the chat on your site once the code is installed, to confirm messages reach Madyis Hub.