How to Embed an AI Chatbot to your Shopify Store
Are you looking to add an AI chatbot to your Shopify store? In this tutorial, we'll show you how to do just that using ChatBotKit's widget integration. You'll learn how to create a chatbot widget in ChatBotKit, generate an iFrame, and install it on your Shopify store. Let's get started!
If you are using ChatBotKit's widget integration, you might want to embed it directly on your Shopify Store. Fortunately, you can do this easily
Step 1: Widget Setup
Let’s first start by creating our widget. You can skip this step if you already have one:
- Go to Integrations and then click the Create AI Widget button.
- Fill in the Name and provide your chatbot Backstory.
- Connect to an existing Bot or select a Model, Dataset and Skillset.
- Save the integration by clicking the "Create" button.
Once we are happy with our widget configuration we are ready to install it on our Shopify Store.
Step 2: Widget Code
You need to grap the widget code which we will need for Step :
-
Open your widget and scroll down until you see all action buttons
-
Click the “Install” button.
-
Copy the code and save it for later.
Step 3: Shopify Installation
In this step we simply need to add the code into your theme.
-
Go to “Online Store” and then “Themes” section of your Shopify store.
-
Click the “Customize” button
-
Click the 3 dots button on the top left and then click the “Edit code” button.
-
Paste the script we copied from Step 2 in the
head
section and click the “Save” button.
Conclusion
Adding an AI chatbot to your Shopify store can be a great way to provide your customers with an improved shopping experience by providing product recommendations, order tracking and much more.
Check out the following great example:
- Shopify Assistant - A chatbot designed to assist users by providing support, recommendations, and support.