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

# Overview

## What is the LemonSlice Widget?

The LemonSlice widget is a fully-managed conversational AI service and web component. Use it when you want the fastest path to adding an interactive avatar to your website.

## How to use

1. Create an avatar on the LemonSlice [avatar platform](https://lemonslice.com/avatars). You can customize your avatar's appearance, voice, personality, and knowledge base.
2. Add the embed code below to your webpage, replacing `agent_id` with your avatar's ID. Check out our [installation guides](https://lemonslice.com/docs/widget/embed-guides/squarespace.md) for common web-hosting platforms.

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

![Copy avatar ID from LemonSlice web app](https://mintcdn.com/lemonslice/YI5gLMYeKgsTDR4b/images/agent_id.png?fit=max\&auto=format\&n=YI5gLMYeKgsTDR4b\&q=85\&s=68fcc6f7452be32a314c491a1ab5f32f)

## Interacting with the widget

We designed the LemonSlice widget to fluidly switch between being an unintrusive yet captivating state, an immersive calling experience, and a fully hidden state.

By default, users see the widget at the **minimized state**, with your welcome video playing on loop. If the user clicks to start a chat, they'll enter the **active state**, allowing them to chat with the avatar. If the user hovers over the widget in the minimized state and clicks the minimize icon , this collapses the widget into the **hidden state**.

The widget is pinned to the corner of your website by default, to allow for a persistent experience across pages.

![States](https://mintcdn.com/lemonslice/Oby-4mLb85n6LZwx/images/States.png?fit=max\&auto=format\&n=Oby-4mLb85n6LZwx\&q=85\&s=93aeffb419c659cb1979052a38662f80)

## Pricing

Pricing for the widget is the same as pricing for hosted agents. Refer to the LemonSlice [pricing](https://lemonslice.com/pricing?productType=hosted#products) page for more information.


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