XenorAi Logo
0%
© 2026 XenorAi
Shopify setup guide

Add XenorAI to your Shopify store

Get your AI sales agent live on your Shopify store in a few minutes. Just follow the steps below.

Before you start

  • An active XenorAI account
  • Access to your Shopify Admin Panel
  • Administrator access to your Shopify store
  • Your website URL and/or documents containing information about your business
1

Log in to XenorAI

Open xenorai.com and log in to your account. Once you're logged in, you'll land on your XenorAI dashboard.

XenorAI login screen
2

Create your AI chatbot

From the Dashboard, click 'Create Agent'. Give your agent a name, upload an avatar, and pick your industry (E commerce, Services, SaaS, or Other).

XenorAI new agent identity step
3

Set up sales context

Tell your agent who it's selling to your ideal customer, your biggest pain point, and the action you want visitors to take (Book a Call, Buy Product, Get a Quote, or Join Program). Add a booking link if relevant.

XenorAI sales context setup

The more specific you are here, the better your chatbot converts.

4

Set up agent behaviour

Pick a tone (Professional, Friendly, or Salesy), set fallback and exit intent messages, and customize the widget's color and position on your site.

XenorAI agent behaviour setup
5

Add your website domain

Enter your website URL as your knowledge base. XenorAI creates the domain instantly and ingests your site content in the background.

XenorAI website domain step
6

Add your Business information pdf

Or upload a PDF/DOCX with your product, FAQ, or policy info instead of a URL. Click 'Create Agent' when you're ready knowledge ingestion runs in the background.

XenorAI knowledge base upload step
7

Copy the installation script

Once your agent is created, find it in your Agents list and click 'Copy Script'. This copies the full <script> tag XenorAI generated for your store.

<script>
  <!-- Your XenorAI installation script -->
</script>
XenorAI copy script from agents dashboard

Copy the complete script exactly as provided. Don't modify or remove any part of it.

8

Open your Shopify theme code

Log in to your Shopify Admin Panel and go to Online Store → Themes. Find your active (published) theme.

Shopify Online Store themes panel
9

Open the theme editor

Click the three-dot menu (⋯) next to your active theme and select 'Edit code'.

Shopify theme three-dot menu with Edit code option
10

Find theme.liquid

In the file explorer on the left, search for the file named 'theme.liquid' under the Layout folder and open it.

Shopify code editor searching for theme.liquid
11

Paste the script and save

Scroll to the bottom of theme.liquid. Find the closing </body> tag and paste your copied XenorAI <script> tag immediately before it. Click 'Save' to apply your changes.

<!-- XenorAI Chatbot -->
<script>
  <!-- Your XenorAI installation script -->
</script>

</body>
Shopify theme.liquid with XenorAI script pasted before closing body tag

Don't delete or replace any existing code — simply paste the script above the closing </body> tag. Reload your store and click the chat bubble to test it.