Skip to main content
Anam Widget

What is the Anam Widget?

The Anam Widget (<anam-agent-widget>) is a self-contained Web Component that embeds a conversational AI avatar on any website. Configuration is managed through Anam Lab and securely fetched at runtime using domain-based authentication.

Quick Start

1

Create a persona in Lab

Go to Anam Lab, create a persona, and configure its avatar, voice, and behavior. Navigate to the Widget tab to customize the widget appearance.
2

Allowlist your domain

In the Widget tab, add your website’s domain to the Allowed domains list (e.g., https://example.com). Alternatively, enable Allow everywhere for unrestricted access.
3

Publish your persona

Click Publish to make your configuration live. The widget fetches published settings at runtime, so unpublished changes won’t appear on your site.
4

Paste the embed snippet

Copy the embed code from the Widget tab and add it to your website:
<anam-agent agent-id="your-persona-id"></anam-agent>
<script src="https://unpkg.com/@anam-ai/agent-widget" async></script>

Next steps

Installation

CDN, npm, and framework-specific setup guides.

Configuration

All HTML attributes, layout options, and positioning.

Shopify

Add the widget to your Shopify store.

WordPress

Add the widget to your WordPress site.
Last modified on April 14, 2026