Embed an AI agent on your website

Put a hosted AI agent's voice panel on any page with two lines of HTML. Conversations use the AI agent's public link, appear in Calls as Public link, and bill to your balance.

Any hosted AI agent with a public link can be placed directly inside your own website. Visitors press Start talking on your page, speak through their browser microphone, and read the live transcript without leaving your site.

Paste the two lines

There is no separate embed switch. Once an AI agent's public link is saved and switched on in Agents → Share, copy the snippet under Embed on a website (Copy the line) and paste it where you want the panel to appear:

<skysay-agent link="your-address"></skysay-agent>
<script src="https://skysay.ai/embed.js" async></script>

Replace your-address with the address slug from skysay.ai/talk/your-address.

Options on <skysay-agent>

AttributeRequiredWhat it does
linkYesThe AI agent's public link slug (your-address from skysay.ai/talk/your-address).
themeNolight or dark. Matches the panel surface to your site, including when the link is unavailable. Defaults to light.
langNoInterface locale for the panel controls (en, de, es, et, fr, it, ru, ar).

Example on a dark page in German:

<skysay-agent link="front-desk" theme="dark" lang="de"></skysay-agent>
<script src="https://skysay.ai/embed.js" async></script>

Multiple embeds and dynamic pages

Load https://skysay.ai/embed.js once per page. You can place as many <skysay-agent link="…"> tags on the same page as you need, each pointing to its own AI agent:

<skysay-agent link="sales-desk"></skysay-agent>
<skysay-agent link="support-desk"></skysay-agent>
<script src="https://skysay.ai/embed.js" async></script>

If your page inserts <skysay-agent> elements after the initial load (for example in a single-page app), call window.Skysay.mount() after rendering them. Existing mounted frames are skipped, so calling mount() again is safe.

Sizing and permissions

embed.js inserts a borderless iframe pointing to https://skysay.ai/embed/talk/<link> with allow="microphone; autoplay". It starts at 220px tall and automatically resizes between 72px and 720px as the conversation connects, shows the live transcript, or ends.

Host pages that send a Permissions-Policy header must allow microphone for https://skysay.ai so browsers can open the visitor's microphone inside the frame.

Example conversation

Maya opens Northwind Clinic's booking page and presses Start talking inside the embedded panel:

  • AI agent: "Hi, you're speaking with Northwind Clinic's booking assistant. How can I help today?"
  • Maya: "Do you have a dental check-up tomorrow afternoon?"
  • AI agent: "I have 2:30 PM or 4:00 PM tomorrow. Which time works best for you?"
  • Maya: "2:30 PM, please — Maya Patel."
  • AI agent: "You're booked for tomorrow at 2:30 PM under Maya Patel. Anything else I can help with?"

The conversation ends inside the host page without navigating away.

Conversations, billing, and turning it off

An embedded conversation is the exact same session as the AI agent's public link:

  • It runs the AI agent's published instructions, voice, languages, knowledge, workflow, and browser-safe tools (such as calendar booking; phone-line tools such as SMS or transfers do not run in the browser).
  • Every conversation is recorded, appears in Calls with the type Public link and speaker Visitor, and bills to your balance under the public link's daily and concurrent limits.
  • Switching the AI agent's public link off, or stopping the AI agent, stops embeds immediately: the frame returns HTTP 404 and displays the unavailable notice in the requested theme.