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

# Squarespace

> Learn how to deploy a LemonSlice avatar to your Squarespace page with minimal code.

### Prerequisites

1. A LemonSlice avatar created on a paid plan
2. A Squarespace page on a plan that supports code injection (Core, Plus, Advanced, Business, Commerce Basic and Commerce Advanced plans)

### Guide

**1. Get an embed code**

Visit the LemonSlice [avatar platform](https://lemonslice.com/avatars) to find your avatar's embed widget. It should look something like this:

```javascript JAVASCRIPT theme={null}
<lemon-slice-widget agent-id="AGENT_ID_HERE"></lemon-slice-widget>
<script type="module" src="https://unpkg.com/@lemonsliceai/lemon-slice-widget"></script>
```

Copy this embed code.

**2. Add widget to your page**

![Cow Tulip 6yfb Squarespace Com Config Website (2)](https://mintcdn.com/lemonslice/ijSarkZGcrUvO2ND/images/cow-tulip-6yfb.squarespace.com_config_website\(2\).png?fit=max\&auto=format\&n=ijSarkZGcrUvO2ND\&q=85\&s=e76cd9c52576c13338c85846fb8941c9)

Paste your embed code into the "Page header code injection" section inside Page Settings/Advanced. This will embed your widget across the site.

> [!WARNING]
>
> The agent widget is only visible to you and your visitors on your live Squarespace site. It won't display in the editor preview.


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