Deploy

Embeddable chat widget

The widget is the fastest way to put a chat agent in front of users — a snippet you paste on your site, backed by a public key that's safe to ship in the browser.

A public, domain-restricted key

The widget runs in the browser, so it uses a dedicated widget key (prefix hania_) rather than your account key. The widget key is public by design and restricted to the domains you allow, with its own hourly rate limit. Create one per bot, naming it for where it'll live (for example, "Marketing site").

Never use your account hania_sk_ key in the widget or any client-side code — that key is a full-tenant secret for your backend only. The widget uses the public hania_ key.

Customize the look

Tune the widget's appearance and copy to match your site: theme color, position, title, greeting and welcome message, placeholder text, avatar, and whether to show branding. Changes apply to the live widget — no redeploy needed.

Get the embed snippet

Once you have a bot, a widget key, and your customization, grab the ready-to-paste embed snippet for that bot and key, and drop it into your site's HTML. You can manage keys, customization, and the embed code in the Widgets area of the dashboard, or over the Widgets API.

Restrict each widget key to the exact domains it should run on. If a key is ever misused elsewhere, the domain restriction and rate limit contain the blast radius — and you can revoke it any time.