Setup takes about 10 minutes per store. You need admin access to both your Shopify store and your OpenCX organization.
Before you start
Shopify store with custom app support
Shopify store with custom app support
Your Shopify plan must support custom app development. This is available on all current Shopify plans. If you don’t see Develop apps in your Shopify admin, your store owner may need to enable it first.
Owner or admin in OpenCX
Owner or admin in OpenCX
Required to save integration settings in Settings → Integrations.
Setup
Enable custom app development
In your Shopify admin, go to Settings → Apps and sales channels → Develop apps. You can also type “Build custom apps” in the search bar.Click Allow custom app development and confirm.
Create a custom app
Click Create an app. Name it
OpenCX (or anything recognizable), then click Create app.Configure Admin API scopes
Click Overview → Configure Admin API Scopes (or Configuration → Admin API integration → Configure).Enable the following scopes:
Click Save.
| Scope | Purpose |
|---|---|
read_orders | Order lookup by order number |
read_products | Product catalog search |
read_customers | Customer metadata in the inbox sidebar |
Install the app and reveal the token
Go to API Credentials → Access tokens and click Install app. Confirm by clicking Install in the dialog.Click Reveal token once to display the . Copy it immediately.
Copy your Shopify domain
Your Shopify domain is the
*.myshopify.com address for your store (e.g. example.myshopify.com). You can find it in the top-left corner of the Settings section in your Shopify admin.Save credentials in OpenCX
In your OpenCX dashboard, go to Settings → Integrations and find Shopify.
Click Save. OpenCX validates the token and checks that the required scopes are granted before saving.
| Field | Value |
|---|---|
| Shopify domain | Your *.myshopify.com domain. Include .myshopify.com — do not use your custom storefront domain. |
| Access token | The Admin API access token you copied in the previous step. |
Verify the connection
After saving, open a conversation in the inbox where the contact’s email matches a customer in your Shopify store. The sidebar should display the customer’s profile and order history.If the sidebar is empty, check Troubleshooting.
Adding more stores
You can connect multiple Shopify stores to the same OpenCX organization. Each store has its own domain and access token. In Settings → Integrations → Shopify, click Add Another Store and repeat the setup steps above for each additional store. The AI routes lookups to the correct store automatically.For multi-store setups, consider using order number prefixes (e.g.
UK-1001, DE-1002) in your Shopify stores. This helps the AI identify which store an order belongs to when a customer provides their order number.Rotating the access token
If a token is compromised or needs rotation:- In your Shopify admin, uninstall the custom app.
- Reinstall it to generate a new token.
- Update the token in Settings → Integrations → Shopify.
Disconnecting
In OpenCX, open Settings → Integrations → Shopify and delete the store connection. Then in your Shopify admin, uninstall the custom app if you no longer need it.Related Documentation
AI Actions
What the AI can do with your store data and how to toggle actions.
Contact Metadata
Customer and order data in the inbox sidebar.
Knowledge Base Sync
Train the AI on your store pages, articles, and products.
Troubleshooting
Connection errors, missing scopes, token issues.