Shopify connection
The Shopify platform provides various services to online businesses, including payment processing, marketing, shipping, and customer service. The Shopify connection represents a single Shopify store (shop) and includes the authentication credentials required to interact with that store.
Prerequisites
- An active Shopify store.
- A Custom App created and installed in your Shopify store. For more information, refer to Create and install custom apps.
Authentication types
The Shopify connection supports two authentication types:
- Basic authentication: Uses an API Key and Password.
- Token authentication: Uses the Access Token.
Basic authentication
To configure basic authentication with a Custom App:
-
Log in to the Data Integration Console.
-
From the left-hand menu, click Connections.
-
In the top-right corner, click + New Connection. A list of available sources appears.
-
In the search box, type Shopify GraphQL, and select it.
-
Enter a Connection Name.
-
Under Credentials Type, select Basic.
To retrieve and map Custom App credentials
- In your Shopify Admin account, navigate to Settings > Apps and sales channels > Develop apps and select your app.
- Go to the API credentials tab to find your keys.
- Map the Shopify credentials to the Data Integration connection fields as follows:
Data Integration Field Shopify Value Description API Key API Key Located in the API credentialstab of your Shopify Custom App.Password Admin API Access Token Click Reveal token once in Shopify. Copy this token (starts with shpat_...) and paste it into the Password field in Data Integration.
(Note: Do not use the API Secret Key).Store Name Store Name The subdomain of your shop URL, for example, if your URL is my-shop.myshopify.com, entermy-shop. -
Enter the Shop Name.
-
Click Test Connection to verify.
Token authentication
This connection type is also used for stores accessed through Custom Apps, specifically utilizing the OAuth-style token exchange.
- Log in to the Data Integration console.
- From the left-hand menu, click Connections.
- In the top-right corner, click + New Connection. A list of available sources appears.
- In the search box, type Shopify GraphQL, and select it.
- Enter a Connection Name.
- Under Credentials Type, select Token.
- Enter the Access Token (starts with
shpat_...) generated in your Shopify Custom App. - Enter the Shop Name.
- Click Test Connection to verify.
Webhook API version
For both authentication types, you may need to specify the Webhook API version if you are using event-based triggers.
- Select the version that matches the API version configured in your Shopify Custom App settings.
- Supported versions typically include the most recent quarterly releases. For example, 2023-01, 2023-04, and so on.
Legacy: Deprecated Private Apps
Shopify has deprecated Private Apps. You can no longer create new Private Apps in the Shopify UI.
If you have an existing connection using a legacy Private App, it will continue to function using Basic Authentication.
- API Key: Your existing Private App API Key.
- Password: Your existing Private App Password (not the Access Token).
- Store Name: Your Shop Name.