# Web chat: the WhatsApp Agent on your website

> Turn on the chat bubble in your online store or on any website, customize colors and texts and limit the allowed domains.

## What the Web chat is

The **Web chat** is a chat bubble you can show in your online store or on any web page. It works **independently of WhatsApp** and uses the name and welcome message of your **WhatsApp Agent**. It is configured in **Communications > Settings > Web chat**.

## Configure and activate the chat

![Web chat settings](https://media.support.lueira.com/images/b662d18a-8cfa-4dcb-842e-bf24cfeb4853.jpg)

- **Enable embedded chat:** turns the chat on or off.
- **Show in my online store:** shows the bubble in your Lueira online store.
- **Primary and secondary color:** the colors of the bubble (format `#275E60`).
- **Position:** for example, bottom right. **Icon:** the drawing on the bubble.
- **Subtitle** and **Input field text:** the texts the customer sees.
- **Allowed origins:** domains of your website where the chat can appear, one per line (for example `https://www.tuweb.com`).

Click **Save** to apply the changes.

## Embed the chat on your website

1. In the **Embed the chat on any website** block, click **Copy code**.
2. Paste the snippet right before the ` ` tag of your website. Change `data-lang` to the language you prefer (for example `es`).
3. Enable the chat and add your website's domain in **Allowed origins**: without this it won't work outside your online store.

The name and welcome message are taken from your **WhatsApp Agent** (see [WhatsApp Agent](lueira-guide:8c9d9bd4-e5de-43bb-b120-3b46ae2b581d?locale=en)).

Source: https://help.lueira.com/en/articles/chat-web-el-asistente-ia-en-tu-pagina-web
