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

# Add the Anam Widget to Wix

> Add the Anam Widget to a Wix site, choose where it appears, and configure the site domain and avatar behaviour in Anam Lab.

Add a conversational AI avatar to your Wix website using the [Anam Widget](https://anam.ai/docs/embed/widget/overview.md) and Wix's Custom Code feature -- no coding required.

> [card] [Cookbook: Adding the Anam Widget to Wix](https://anam.ai/cookbook/widget-wix)
>
> Step-by-step guide for embedding the widget on your Wix site

## Quick Start

**1. Create a persona in Anam Lab**

Go to [Anam Lab](https://lab.anam.ai), create a persona, and configure its avatar, voice, and behavior. Navigate to the **Embed** tab and choose **Widget** to get your persona ID.

**2. Allowlist your domain**

In the **Embed** tab, choose **Widget** and enter your Wix domain under **Allowed Domains**, then select **+** to add the origin. Select **Publish** before testing the embed.

Add the origin visitors actually use, including any custom domain. See [origin format and matching rules](https://anam.ai/docs/embed/widget/installation.md#domain-allowlisting).

**3. Add to Wix**

In your Wix dashboard, go to **Settings > Custom Code**. Click **Add Custom Code** and paste:

```html theme={"system"}
<anam-agent agent-id="your-persona-id"></anam-agent>
<script src="https://unpkg.com/@anam-ai/agent-widget" async></script>
```

Set placement to **All pages** and loading to **Load code once**.

**4. Publish**

Click **Publish** in Anam Lab and publish your Wix site.

## Next Steps

> [card] [Widget Configuration](https://anam.ai/docs/embed/widget/configuration.md)
>
> Customize the widget's appearance and behavior

> [card] [Widget Events](https://anam.ai/docs/embed/widget/events.md)
>
> Listen for widget events


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