Method 1: Using theme.liquid
- Go to your chatbot’s dashboard.
- Click on
Website widget
in the sidebar.

- Copy the widget code provided.

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

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

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

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

- Click the Save button.

Method 2: Using Customization
- From your Shopify dashboard, click on
Online Store
and go toThemes
.

- Click on the
Customize
button next to your current theme.

- Under the
Header
section, chooseAdd section
. Search forCustom liquid
and add it.

- Open the
Custom liquid
editor and paste your widget code into theLiquid code
field.

- Set the
Top padding
andBottom padding
to0
so the section doesn’t create a blank space in your site’s header.

- Click the
Save
button.
