Skip to content
ZavienGPT

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.

The ZavienGPT chat widget open on a website, with suggested questions and colour options

Add the chat widget in 4 steps

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

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

  3. Open theme.liquid

    In the Layout folder, open theme.liquid.

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

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

  2. 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 WordPress

Wix

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 Wix

Webflow

Add the snippet to your Webflow project's footer code once, publish, and the widget appears on every page.

Install on Webflow

Live on your site in minutes

Start freeAll install guides