
What is the Anam Widget?
The Anam Widget (<anam-agent>) 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 Embed tab and choose Widget to customize the widget appearance.
2
Allowlist your domain
In the Embed tab, choose Widget and enter your website origin (for example,
https://example.com) under Allowed Domains, then select + to add it. 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 Embed > Widget and add it to your website:
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.

