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

# Get your embed code

> How to get your Lark agent embed code and add it to your website.

Adding Lark to your website is a single script tag. No plugin, no framework, no configuration required.

## Get your code

In your Lark dashboard go to **Agent → Add to site**. Your embed script is shown there, pre-filled with your organisation's key. Copy it.

```html theme={null}
<script src="https://app.heylark.io/embed.js" data-key="YOUR_KEY" defer></script>
```

Paste it before the closing `</body>` tag on your website, or into an HTML embed block in your site builder. That's it — your agent will appear as a floating button in the bottom-right corner.

<Warning>
  Your website's domain must match the domain saved in **Organisation Settings** in Lark before the agent will load. If they don't match, the agent will not appear.
</Warning>

## Choose your platform

Select your website platform below for step-by-step instructions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.