D. Widget Integration
Install Privas AI on Shopify
Embed the AI representative on Shopify
By aninditoUpdated 4 Mar 2026
Shopify allows you to embed external scripts or components.
You can add the Privas AI representative by inserting the Privas embed script.
This guide explains how to install the Privas AI widget on a Shopify website.
Why this matters
Installing the widget in your Shopify theme:
- Makes the assistant available on all pages
- Keeps the experience consistent
- Requires only one setup step
This affects your storefront display.
It does not change your products, checkout, payments, or store configuration.
Before You Start
Make sure you have:
- Access to your Shopify Admin
- Your Privas AI Website Widget Embed Code
You can find the embed code inside your Privas AI Domain Dashboard.
Step 1 — Copy Your Embed Code
- Open your Privas AI dashboard.
- Click Copy Code to copy the full widget embed script.
Keep this code ready.
Step 2 — Open Your Shopify Theme Editor
- Log in to your Shopify Admin.
- From the left-hand menu, click Online Store under Sales Channels.
- In the Themes section, locate your active theme.
- Click the ellipsis (•••) button beside the theme.
- Select Edit Code.
This will open your theme file editor.
Step 3 — Edit the theme.liquid File
- In the left sidebar, locate and click theme.liquid.
- Inside the file, find the
<head>and</head>tags. - Paste the Privas AI embed code anywhere between those tags.
Example:
<body>
...
<!-- Privas AI Widget -->
<script src="https://privas.ai/embed.min.js" data-domain="your-domain-xxx"></script>
</body>
Step 4 — Save Your Changes
- Click Save in the top-right corner.
- Open your website in a new tab.
- Refresh the page.
You should now see the chat icon appear in the corner of your store.
What This Installation Does — and Does Not Do
This installation:
✔ Displays your assistant across all pages
✔ Loads automatically for visitors
✔ Works independently from your product system
It does NOT:
✘ Modify product listings
✘ Change checkout behavior
✘ Affect payment processing
✘ Alter your store design
The widget simply connects your storefront to your configured Privas AI domain.
Optional — Install on a Single Page Only
If you prefer to show the assistant only on specific pages:
- Go to Online Store → Pages.
- Open the page you want to edit.
- Switch to the HTML view (<> icon).
- Paste the embed code inside the page content.
- Click Save.
This method affects only that page.
If the Widget Does Not Appear
- Clear your browser cache
- Check that the full embed code was pasted correctly
- Make sure it is placed inside the <head> section
Next Step
After installation, continue to Test the Representative.
Before announcing it publicly, confirm that your assistant represents your store clearly and accurately.