The agent is the same object either way. A single agent you have already
built and tested can take phone calls and browser calls at the same time —
same prompt, same voice, same tools, same knowledge base, same webhooks.
Three ways to get an agent into a browser
Voice widget
A drop-in voice call button for your website. One script tag.
Chat widget
A floating text-chat panel backed by the same agent. One script tag.
Share link
A public URL anyone can open and talk to your agent. Zero integration.
Which one should I use?
Before you start
Both widgets are client-side embeds, so they authenticate with your organization’s public API key — never your secret key. You will need:1
An agent
Any agent from your dashboard. Copy its UID — the widgets identify
agents by UID, not by name or numeric ID.
2
Your public API key
Found in the dashboard, or via
GET /api-keys/public-key. It starts with
omic_pub_. See Public API key.3
An HTTPS page
Browsers only grant microphone access on secure origins.
https:// and
http://localhost both count as secure — but note the voice widget has a
known localhost limitation.The dashboard generates ready-to-paste snippets for both widgets, filled in
with the selected agent’s UID and your public key. Open any agent and choose
the Widget tab.