D. Widget Integration
Install Privas AI on Shopify
Add the Privas AI representative to your Shopify store by pasting the embed script into your theme, so it appears across all storefront pages.
By aninditoUpdated 6 Sep 2026
Shopify lets you embed external scripts in your theme. Adding the Privas AI script shows your representative across your storefront.
Installing it in your theme makes the assistant available on all pages with a single setup step. It affects only your storefront display, not your products, checkout, payments, or store configuration.
Before you start
Make sure you have access to your Shopify Admin and your Privas AI embed code. The embed code is in your domain under Settings > Setup > General Settings.
Step 1: Copy your embed code
- Open your Privas AI dashboard.
- Click Copy Code to copy the full widget script.
Step 2: Open your Shopify theme editor
- Log in to Shopify Admin.
- Under Sales Channels, click Online Store.
- In Themes, find your active theme.
- Click the ellipsis (...) next to the theme.
- Select Edit Code.
Step 3: Edit theme.liquid
- In the left sidebar, open theme.liquid.
- Find the
</head>tag. - Paste the embed code just before it:
<head>
...
<!-- Privas AI Widget -->
<script async src="https://privas.ai/embed.min.js" data-domain="your-domain-xxx"></script>
</head>
Step 4: Save
Click Save, open your store in a new tab, and refresh. The chat icon appears in the corner.
What this does, and what it does not
It displays your assistant across all pages, loads automatically, and works independently from your product system. It does not modify product listings, change checkout, affect payment processing, or alter your store design. The widget connects your storefront to your configured Privas AI domain.
Show it on a single page only
- Go to Online Store > Pages.
- Open the page you want to edit.
- Switch to the HTML view (the
<>icon). - Paste the embed code into the page content.
- Click Save.
If the widget does not appear
Clear your browser cache, confirm the full embed code was pasted correctly, and confirm it sits
inside the <head> section.
Next step
Continue to Test the Representative. Before announcing it, confirm the assistant represents your store clearly and accurately.