# Website chat

> Put an AI chat bubble on any website with one script tag. It answers from your knowledge, captures leads into the CRM, books with the scheduler, and hands off to a human when needed.

The website chat service puts a chat bubble on any site. It answers from the business's [knowledge](/docs/ai/knowledge), runs [conversation flows](/docs/workflows/overview) written for the chat door, captures leads straight into the [CRM](/docs/crm/overview), and escalates to the [help desk](/docs/helpdesk/overview) when a human is wanted.

## Install

Paste one line before `</body>`, using the agent's public key from the service's **Embed** page:

```html
<script src="https://app.openagent.work/widget/embed" data-agent-id="bk_your_agent_key"></script>
```

That's the whole installation. The bubble inherits the colors, avatar, welcome message, and theme set in the dashboard, and the **live preview** in the service shows changes as you make them. For Shopify, Webflow, WordPress and friends, paste the same tag into the platform's custom-code slot.

## What it does out of the box

- **Answers from knowledge** — grounded in the trained sources, so it quotes your prices and policies instead of guessing.
- **Captures leads** — the lead tool collects the fields of the CRM card you bound (name, phone, job details…) and creates the deal, mid-conversation.
- **Books** — offer the [scheduler](/docs/scheduler/overview) as a pinned booking card in the thread.
- **Hands off** — "talk to a person" opens a [help-desk ticket](/docs/helpdesk/overview) with the transcript attached.
- **Personalizes** — if your site [identifies signed-in users](/docs/developers/identity-verification), the AI greets them by name and uses their history.

## Control it from your own code

The embed exposes `window.bookbag` — open/close the panel from your own buttons, listen to events, and pass verified identity. See [Embed & JavaScript SDK](/docs/developers/embed-sdk).

> **CHAT IS UNLIMITED:** Website chat carries no base fee and no per-message fee on the current plans — text channels never meter. See [Plans, billing & usage](/docs/getting-started/plans-billing).
