Skip to main content
This page is only about syncing store content into the training index. For order lookup, product search, customer enrichment, and AI Actions, use the Shopify integration docs.
Knowledge Base Sync imports your Shopify store’s pages, blog articles, and product descriptions into the AI’s training data. Every AI answer can reference your own store content. Sync is — edits and new content show up on the next scheduled run.
Knowledge Sync is configured at AI Training → Data Sources, separately from the store connection at Settings → Integrations. You can use one without the other.

Before you start

Knowledge Sync uses an OAuth flow with a custom app’s Client ID and Client Secret (not the Admin API access token from the store connection). The required scopes depend on which streams you select — see the table below.
Required to add data sources in AI Training → Data Sources.

Set up the sync

1

Open Data Sources

Go to AI Training → Data Sources in the OpenCX dashboard.
2

Add a Shopify source

Click Add source → Shopify. You’ll see a Redirect URL — copy it. You’ll paste this into your Shopify custom app configuration.
3

Enter your custom app credentials

FieldValue
Shop domainYour *.myshopify.com domain.
Client IDFrom your Shopify custom app’s API credentials page.
Client SecretFrom the same page.
4

Select content streams

Choose which content to sync. Each stream requires a specific scope on your Shopify custom app:
StreamWhat it syncsRequired scope
PagesStore pages (About us, FAQ, etc.)read_online_store_pages
ArticlesBlog articlesread_content
ProductsProduct titles, descriptions, and metadataread_products
If the custom app you used for the store connection doesn’t have these scopes, either add them to that app or create a second custom app specifically for Knowledge Sync.
5

Authorize via OAuth

Click Connect with Shopify. A popup opens asking you to authorize the app. Approve it and wait for the connection status to show Active.
6

Verify the sync

Open AI Training → AI Instructions. After the initial sync completes, you should see your Shopify content listed under the Shopify folder. The first sync may take a few minutes depending on the amount of content.

Stream details

Imports store pages with their title, body content, and URL. Pages are indexed with a direct link back to your storefront so the AI can cite sources.
Imports blog articles with their title and body content. Article URLs are not always available in the sync — the AI references the article by title when citing sources.
Imports product titles, descriptions, and metadata. Product URLs link back to your storefront. Internal or draft products are included if the scope grants access — review visibility in your Shopify admin.

Connect Store

Admin API access token setup for AI actions and inbox enrichment.

AI Actions

What the AI can do with your store data in real time.

Shopify Overview

Full integration capabilities at a glance.

Troubleshooting

Sync stuck, articles missing, scope errors.