Shopify Integration
Connecting Shopify allows ScaleFlow to access your e-commerce store's data, such as products, orders, and customer information. This enables your AI Agents to retrieve real-time data to answer customer inquiries or automate tasks.
To connect Shopify, you will need your Shopify Store URL, a Client ID, and a Client Secret (API secret key) generated from a Shopify Custom App.
Before you start
Make sure you have:
- A Shopify store with an active plan.
- Administrator access to the Shopify admin dashboard of the store.
- Permission in ScaleFlow to manage integrations.
Step-by-step connection guide
Step 1: Find your Shopify Store URL
Your Shopify Store URL is the primary .myshopify.com domain for your store.
-
Access https://admin.shopify.com/ and log in to your store.
-
In the left navigation bar, click on Settings at the bottom.
-
In the left navigation bar, click on Settings at the bottom.

-
In the Settings page (or from the store switcher dropdown), find the
.myshopify.comdomain of your store.
-
Copy the domain part, which is
your-store-name.myshopify.com.Note: Only enter the domain part (e.g.,
your-store-name.myshopify.com) in the Store URL field in ScaleFlow. Do not includehttps://or trailing slashes.
Step 2: Configure App Settings (Scopes and Redirect URLs)
Step 2: Configure App Settings (Scopes and Redirect URLs)
-
Access https://partners.shopify.com/ and log in to your Shopify Partners account. In the left navigation menu, click on Apps to open your developer dashboard.
-
Access https://partners.shopify.com/ and log in to your Shopify Partners account. In the left navigation menu, click on Apps to open your developer dashboard.

-
On the Apps page, click Create app. Enter the App name (e.g.,
ScaleFlow Integration) and click Create to confirm. -
On the Apps page, click Create app. Enter the App name (e.g.,
ScaleFlow Integration) and click Create to confirm.
-
In the left navigation menu of your app, click on App distribution.
- Under the Distribution type section, select Custom distribution.
- Confirm the distribution method by clicking Choose distribution.

-
In the left navigation menu, click on API access requests.

-
On the API access requests page, click on Protected customer data access and click Request access.

-
In the control panel/modal that appears, click the Select button under the Protected customer data section, check/tick Customer service and App functionality, and then click Save.

-
In the left navigation menu of your app, click on Versions (or select your draft version).

-
On the version configuration page:
- Under the Access section:
- Check/tick the Use legacy install flow checkbox.
- Leave the Scopes and Optional scopes fields blank (no need to enter scopes here).
- In the Redirect URLs field, enter the redirect URL provided by ScaleFlow (e.g.,
https://your-scaleflow-domain.com/integration/api/shopify/oauth/callbackorhttps://your-scaleflow-domain.com/api/v1/integrations/shopify/callback).
- Under the URLs section:
- Enter your App URL (e.g.,
https://your-scaleflow-domain.com).
- Enter your App URL (e.g.,
- Under the Access section:
-
Click Release (or Save configuration) to apply changes.

Step 3: Retrieve API Credentials
-
In the app settings menu on the left, click on Settings.
-
Under the Client credentials section, find your credentials:
- Client ID: Copy the value from the Client ID field.
- Client Secret: Click Reveal client secret (eye icon) and copy the value from the Client secret field.
Important Note: Treat the Client Secret as a password. Store it securely and never share it publicly.

Connecting Shopify in ScaleFlow
Once you have gathered the three required parameters (Store URL, Client ID, Client Secret), complete the connection in ScaleFlow:
- In ScaleFlow, open Integrations from the left navigation menu.
- Click on the Shopify card and click Connect.
- Fill in the connection form:
* indicates required fields.
- Store URL (String)*: The primary domain of your Shopify store (retrieved in Step 1).
Example:"your-store-name.myshopify.com" - Client ID (String)*: The Client ID from your Shopify Partners App Settings (retrieved in Step 3).
- Client ID (String)*: The Client ID from your Shopify Partners App Settings (retrieved in Step 3).
Example:"your_shopify_client_id" - Client Secret (String)*: The Client Secret from your Shopify Partners App Settings (retrieved in Step 3).
- Client Secret (String)*: The Client Secret from your Shopify Partners App Settings (retrieved in Step 3).
Example:"your_shopify_client_secret"
- Click Connect to save.
- ScaleFlow will redirect you to your Shopify store admin to authorize and install the app. Click Install app to complete the connection.
Quick troubleshooting
Error: Invalid Store URL
- Ensure you entered the
.myshopify.comdomain. Do not use your custom domain (likewww.mycustomdomain.com) unless specified. - Do not include
https://,http://, or/adminin the field.
Error: Unauthorized or Connection Failed
- Check that your Redirect URLs in Shopify Partners match ScaleFlow's callback URL exactly.
- Verify that you copied the Client ID and Client Secret correctly from the App Settings page in Shopify Partners.
- Check if you have ticked the "Use legacy install flow" checkbox: Go to the Versions tab, scroll to the Access section, and verify that the Use legacy install flow checkbox is checked (Step 2, sub-step 8). If this option is not checked, the installation redirect will fail.
Error: Data Synchronization Failures (Missing Customer or Order Details)
- Check if you have requested access: Ensure that you went to API access requests -> Protected customer data access and clicked Request access (Step 2, sub-steps 5 & 6).
- Check data reasons selection: Verify that you clicked the Select button under Protected customer data, checked Customer service and App functionality, and clicked Save to apply the configuration.
- If using a developer store or Custom distribution, ensure you have selected your data reasons so the data can be accessed without a formal App Store review submission.