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

# Shopify

> Learn how to add Chatling to your Shopify store

## Method 1: Using theme.liquid

1. Go to your dashboard.
2. Click `Deploy` button in the sidebar menu.

![Open Deploy page](https://chatling-assets.b-cdn.net/deploy-ai-agent.jpg)

3. Click the `Manage` button under the `Website Widget` option.

![Manage website widget](https://chatling-assets.b-cdn.net/manage-website-widget-chatbot.jpg)

4. Design the appearance of the widget by clicking the `Open widget settings` button.

![Open website widget designer](https://chatling-assets.b-cdn.net/open-website-widget-designer.jpg)

5. Select the display mode for your chatbot, such as "Floating Chat", "Inline", or "Fullscreen".

![Configure website widget display type](https://chatling-assets.b-cdn.net/configure-website-widget-display-type.jpg)

6. Copy the widget code.

![Copy widget code](https://chatling-assets.b-cdn.net/website-widget-code.jpg)

7. Go to your Shopify dashboard and click on `Online Store` from the sidebar.

![](https://chatling-assets.b-cdn.net/8b3114ad-4b34-49c1-b24f.jpg)

8. Edit your theme by clicking the ellipsis icon next to your current theme and choosing `Edit code`.

![](https://chatling-assets.b-cdn.net/3e16b15a-6bc5-45c3-bf8e.jpg)

9. Find and open the `theme.liquid` file From the sidebar where the list of files is displayed.

![](https://chatling-assets.b-cdn.net/48cde0d8-f309-4c73-97aa.jpg)

10. Paste the widget code in the `<head>` section. You can paste it anywhere between the opening `<head>` tag and the closing `</head>` tag.

![](https://chatling-assets.b-cdn.net/12378539-03e7-4e2a-88ca.jpg)

11. Click the Save button.

The chatbot will be live on your website and should appear across all your store's pages.

![](https://chatling-assets.b-cdn.net/70e38199-d0e9-4d6b-a77e.jpg)

## Method 2: Using Customization

1. Follow steps 1-6 from Method 1 to copy the widget code.

2. From your Shopify dashboard, click on `Online Store` and go to `Themes`.

![](https://chatling-assets.b-cdn.net/open-themes-shopify.jpg)

3. Click on the `Customize` button next to your current theme.

![](https://chatling-assets.b-cdn.net/click-customize-theme-shopify.jpg)

4. Under the `Header` section, choose `Add section`. Search for `Custom liquid` and add it.

![](https://chatling-assets.b-cdn.net/add-custom-liquid-shopify.jpg)

5. Open the `Custom liquid` editor and paste your widget code into the `Liquid code` field.

![](https://chatling-assets.b-cdn.net/add-chatling-widget-code-to-custom-liquid.jpg)

6. Set the `Top padding` and `Bottom padding` to `0` so the section doesn't create a blank space in your site's header.

![](https://chatling-assets.b-cdn.net/set-padding-to-zero-shopify-custom-liquid.jpg)

7. Click the `Save` button.

The widget will be live on your website and should appear across all your store's pages.

![](https://chatling-assets.b-cdn.net/shopify-chatbot-preview-using-custom-liquid.jpg)


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