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

# Squarespace

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

Squarespace lets you inject custom code into every page from a single place in your settings.

## Before you start

* Your Lark agent is live and your organisation domain is saved in Organisation settings.
* You have a Squarespace Business plan or above. Code injection is not available on Personal plans.

## Get your embed script

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

## Add the script to Squarespace

In your Squarespace dashboard go to **Settings → Advanced → Code Injection**. Paste your Lark script into the **Footer** field and save. The agent will appear on every page of your site after your next publish.

## Inline embed

To show the agent on a specific page, open that page in the editor, add a **Code block**, paste the inline embed code from **Add to site**, and save.

<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 published domain — the agent will not appear on `.squarespace.com` preview URLs.
</Warning>


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