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

# Set Up Storefront Chat

> Set up an agent chat for website visitors and handle Storefront conversations in the OmniCommerce Inbox.

Storefront lets website visitors chat with an OmniCommerce agent. Setting up a Storefront chat requires Enterprise and permission to manage Storefront settings. You also need access to edit the website where the chat will appear.

## Set up your chat

**1. Create a storefront chat**

Open **Customer Support → Storefront** and choose **Create storefront chat**. Name the chat and review the agent and its available capabilities. If this is your first Storefront chat, OmniCommerce can create a **Shopfront Agent** when you save.

**2. Allow your website**

In **Settings → Website access**, enter each allowed website origin on its own line, such as `https://shop.example.com`. Include the actual domain that will load the chat. Enter the origin without a page path.

**3. Save and preview**

Use **Design** to set the launcher and chat appearance. Check the agent's enabled tools and skills, then choose **Save**. On the saved chat's detail screen, use **Live preview** to try the chat before installing the embed code.

**4. Install the embed code**

Open **Embed code**, choose the layout under **Install in**, and select **Copy code**. For a website chat bubble, paste the snippet before the closing `</body>` tag. For inline chat, paste it where the chat should appear. For a React site, follow the [embedded chat SDK guide](https://docs.omnicommerce.ai/sdk/chat.md).

**5. Test on the website**

Load the site on an allowed domain and send a test message. Use **Customer Support → Inbox → Storefront** to review the website conversation and take over when a visitor needs a person.

If the widget fails to load, confirm the chat is active, check the origin in **Allowed websites**, and compare the installed snippet with **Embed code**. Save later changes in Storefront and reload the website to see them.

For a shopping assistant, see [Storefront product discovery](https://docs.omnicommerce.ai/guides/storefront-product-discovery.md).


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