Install guide · Shopify
Add an AI chatbot to Shopify
Add the chat widget to your Shopify theme so shoppers can ask about shipping, returns and sizing on every product page and at checkout's door.

- Home
- Install guides
- Shopify
Add the chat widget in 4 steps
Copy your snippet
In your ZavienGPT dashboard, open Settings → Channels → Chat widget → Installation, and choose Copy code. The snippet already contains your organisation's ID.
Open your theme's code
In Shopify admin, go to Online Store → Themes. Next to your current theme, open the … menu and choose Edit code.
Open theme.liquid
In the Layout folder, open theme.liquid.
Paste the snippet before </body>
Find the closing </body> tag near the end of the file, paste your snippet just above it, and choose Save.
One snippet. Live in minutes.
Paste one line before the closing body tag of your site and the chat widget appears on every page. Colours, greeting, office hours and the AI agent are all set from your dashboard, with no more code.
Get your snippet<script
async
src="https://widget.zaviengpt.com/widget.js"
data-organization-id="YOUR_ORGANIZATION_ID"
></script>Check it's working
Open your site in a new window
Visit any page of your live site. The chat launcher appears in the corner within a few seconds.
Send a test message
Ask a question your knowledge base covers. The AI agent answers, and the conversation shows up in your inbox.
Shopify questions, answered.
WordPress
Add the chat widget to every page of your WordPress site with a free header-and-footer plugin, so it stays in place when your theme updates.
Install on WordPressWix
Wix lets you add a script to every page from your site's settings. Paste the snippet there once and the widget shows across your site.
Install on WixWebflow
Add the snippet to your Webflow project's footer code once, publish, and the widget appears on every page.
Install on Webflow