Choose a direct link, embed or chat bubble
See what each web experience format looks like, what its code looks like and which one fits your website.
- Who it's for
- Website owners and marketers deciding how visitors will meet an AI employee
- You'll be able to
- Pick the right format for each page and recognise the code Aivah gives you.
A web experience is your employee, packaged for visitors. Each one uses one of three formats. A chat bubble suits most websites. A direct link is the quickest way to share. An embed puts your employee right inside a page.
Before you start
Create a web experience, or decide which format you'll pick when you create one.
Steps
1. Pick the format
Format | What visitors see | Best for |
|---|---|---|
Chat bubble | A button in the corner of every page that opens your employee | Most websites: support, sales and enquiries on every page |
Iframe embed | Your employee inside a section of one page | Landing pages, product tours, course pages and help pages |
Direct link | A full page with your employee, at its own address | Emails, social posts, QR codes and messages |
Each format is its own web experience. So you can run a chat bubble across your site and a full-page link in your emails at the same time.
2. Recognise the chat bubble code
After you publish, Aivah shows the code for your experience. A chat bubble is one line that goes on every page:
<script src="https://chat.aivah.ai/embed.js" data-aivah-id="YOUR_EXPERIENCE_ID" data-aivah-mode="bubble" data-aivah-route="bubble"></script>A chat bubble experience also gives you a Floating voice widget script: a call button in the corner of the page. One tap starts a voice call, and the browser asks for the microphone only then:
<script src="https://chat.aivah.ai/embed.js" data-aivah-id="YOUR_EXPERIENCE_ID" data-aivah-mode="voice" data-aivah-route="voice-only"></script>3. Recognise the embed code
An iframe embed fills the width of the section you place it in, and sizes itself to the screen:
<iframe src="https://chat.aivah.ai/chat/YOUR_EXPERIENCE_ID" title="Chat with our AI employee" loading="lazy" style="display: block; width: 100%; height: min(720px, 85vh); border: 0" allow="microphone; camera; autoplay; fullscreen; clipboard-write; display-capture"></iframe>The allow list lets visitors use voice inside the frame. Their browser still asks before it turns on the microphone. Iframe experiences also offer Embed code with voice (iframe) for a voice-first version.
4. Share a direct link
A direct link looks like https://chat.aivah.ai/chat/YOUR_EXPERIENCE_ID. Paste it into an email, a social post or a QR code generator. Direct link with voice (https://chat.aivah.ai/voice-only/YOUR_EXPERIENCE_ID) opens a voice-first page instead. On the page, visitors can type or attach images, start a new conversation, download the transcript and switch between light and dark.
5. Copy your real code
The examples above use a placeholder. Copy the exact code for your experience from Deploy → Web & embeds. Then follow Add Aivah to your website.
Good to know
Presenter employees use a direct link or an iframe embed. Both give lessons and slides the room they need, and neither offers a voice link. The chat bubble is for everyday conversations.
Iframe embeds and chat bubbles need a plan that includes Embed on websites (Individual and up). Direct links work on every plan. For more snippets, such as the inline embed, and the checks strict sites need before launch, see chat.aivah.ai.
Troubleshooting
- Your code looks different from the examples: that's expected. The address and settings depend on your experience and character, so always copy it from Aivah.
- Voice doesn't start inside the embed: the page must use
https://, and the iframe needs itsallowlist. See Add Aivah to your website. - The wrong employee appears: open the experience in Web & embeds and check its Employee.






