---
title: "Embed your bot"
description: "Copy Universal floating, GoHighLevel, Inline, and Generic Domain snippets, set inline dimensions, and lock bots to allowed domains."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.aminos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Embed your bot

Open **Integration Code** (`/dashboard/{bot}/code_to_paste`) in the left sidebar to grab the ready-to-paste embed snippet for your bot.

## Three ways to embed

### Universal floating (recommended)

Adds a floating chat launcher in the bottom-right or bottom-left corner of your website. Paste this inside your site's `<head>` or just before `</body>`:

```html
<script async src="https://your-platform-domain/w/chat_plugin.js" data-bot-id="YOUR_BOT_ID"></script>
```
### GoHighLevel (GHL)

Tuned specifically for GoHighLevel websites and funnels. Paste into your funnel or site **Head Tracking Code** (or **Footer Tracking Code**):

```html
<script async src="https://your-platform-domain/w/chat_plugin_ghl.js" data-bot-id="YOUR_BOT_ID"></script>
```
### Inline embeddable bot

Places the chat window directly inside your page layout instead of a floating corner bubble. Paste the `<div id="chat_form"></div>` container where you want the bot to appear, plus the inline script:

```html
<div id="chat_form"></div>
<script async src="https://your-platform-domain/w/chat_form_plugin.js" data-bot-id="YOUR_BOT_ID"></script>
```

## Inline widget sizing and Responsive mode

At the bottom of **Integration Code**, under **Inline Embeddable Bot Configurations**, you can set explicit dimensions (in `px` or `%`) for inline embeds:

- **Desktop:** `Width` and `Height`
- **Mobile:** `Width` and `Height`
- **Image:** `Width` (controls width of images rendered inside inline chats)

Want an inline bot on desktop that collapses neatly into a floating chat bubble on phones? Open **Settings → General** and toggle **Responsive mode (inline on desktop, bubble on mobile)** on. Below **768 px** viewport width, the inline embed automatically switches to floating bubble mode.

## Generic domain embeds (plan-gated)

If you are on the main platform and your plan includes **Generic domain**, **Integration Code** shows an additional **Using generic domain** section with the same three snippets served from an unbranded domain instead of the main Aminos domain.

On an **Aminos One** white label, your embed scripts automatically load from your white label's custom domain.

## Restricting where a bot can run (Domain whitelist)

To stop anyone from copying your embed snippet onto another website:

1. Open **Bot → Settings → General**.
2. Enter comma-separated hostnames in **Domain whitelist** (for example `mysite.com, app.mysite.com`). Don't include `https://` or `www.`.
3. Leave the field **empty** to allow the bot on any domain.
4. Click **Save Settings**.

Your dashboard live preview and demo pages automatically bypass the domain whitelist so you can always test safely.

:::note
Settings changes propagate quickly, though browsers cache bot settings briefly (around 1–5 minutes) for fast page loads. Hard-refresh your site if you want to inspect a change immediately.
:::

Source: https://docs.aminos.ai/widget/embed/index.mdx
