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

# Shopify

> Add DeskHoot to a Shopify store

**1. Copy your code**

Copy it from [**Channels › Widgets › Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install).

```html Your install code theme={null}
<script
  async
  src="https://widget.deskhoot.com/widget/v1.js"
  data-project="YOUR_PROJECT_ID"
></script>
```

**2. Open your theme's code**

In Shopify, open **Online Store › Themes**, select **…** next to your theme, then **Edit code**.

**3. Paste it into theme.liquid**

Open `layout/theme.liquid`, paste the code just before `</body>` and select **Save**.

**4. Check it's live**

Open your website and select the chat button. [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install) now shows **Installed**.

Your shop's own domain has to be allowed. If customers can also reach the shop on `your-store.myshopify.com`, add both under [**Install**](https://app.deskhoot.com/app/channels?tab=widgets\&page=install), in **Allow your websites**.

## Related

> [card] [Installation](https://docs.deskhoot.com/install/website.md)
>
> Add DeskHoot to any website.

> [card] [Customize your widget](https://docs.deskhoot.com/widgets/customize.md)
>
> Colours, greeting and where the button sits.

> [card] [Allowed websites](https://docs.deskhoot.com/widgets/websites.md)
>
> Where your chat is allowed to load.

> [card] [Troubleshooting](https://docs.deskhoot.com/install/troubleshooting.md)
>
> When the chat doesn't show.


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