Skip to main content

shopify

info

If you're following this section, you must have added some data in your Ai Assistant according to Data Sources Section and you tested you assistant in AI Task Section.

To expose your AI Assistant in Shopify in the form of a chatbot widget, follow these steps.

Make public

Choose access type : you have to make it public.

If you decide to restrict access you will need to generate an API key for the integration of the widget.

Customize

Customize your widget and save it.

Theme Editor

In your Shopify admin dashboard, on the left sidebar, click on Online Store and then Themes.

Backup

You may do a backup of your theme before going any further, to ensure you can revert the changes you are about to make.

Edit code

Find the theme you're currently using, and then click on the action dropdown next to the customize button. From the dropdown, select Edit code. On the left panel of the code editor, find and click on the theme.liquid file. This file contains the base markup for your theme and is a good place to add global scripts.

Add script

In the theme.liquid file find the tag. Just before the tag, paste the following script tag.

Don't forget to click the Save button in the top right corner of the editor to save your changes.

Join Us

We value your feedback and are always here to assist you.
If you need additionnal help, feel free to join our Discord server. We look forward to hearing from you!

Discord Community Server