> ## 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.

# Wix

> Add the Lark AI agent to your Wix site easily.

Wix supports custom code through its **Custom Code** settings, available on paid plans.

## Before you start

* Your Lark agent is live and your organisation domain is saved in Organisation settings.
* You have a Wix paid plan. Custom code injection requires a connected domain.

## Get your embed script

In your Lark dashboard open **Add to site** and copy the floating button script.

## Add the script to Wix

In your Wix dashboard go to **Settings → Custom Code**. Click **Add Custom Code**, paste your Lark script, set the placement to **Body - end**, choose whether to apply it to all pages or specific ones, and save. Publish your site for the change to go live.

## Inline embed

To show the agent inside a specific section of a page, add an **HTML iframe** element from the Wix editor's **Embed** menu, paste the inline embed code from **Add to site** into it, and resize the element to fit.

<Warning>
  Your website's domain must match the domain saved in **Organisation Settings** in Lark before the agent will load. Go to Organisation Settings, check the domain field, and make sure it matches your live site. Use your connected domain — the agent will not appear on `.wixsite.com` preview URLs.
</Warning>


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