Create a Shopify base connection using the Flow Service API
A base connection represents the authenticated connection between a source and Adobe Experience Platform.
Read this guide to learn how to create a base connection for the Shopify source connector using the Flow Service API.
Getting started
This guide requires a working understanding of the following components of Adobe Experience Platform:
- Sources: Use Sources to easily bring in data from a variety of external systems and platforms. This feature enables you to organize, label, and enrich your incoming data so you can get more value from it using Experience Platform services.
- Sandboxes: Sandboxes let you safely experiment, test, and develop digital experiences by providing separate spaces within your Experience Platform instance—so you can make changes without impacting your production environment.
Gather required credentials
You must have valid Shopify authentication credentials to create a base connection. For details on the required credentials and how to obtain them, refer to the Shopify source connector overview.
Using Experience Platform APIs
For information on how to successfully make calls to Experience Platform APIs, see the guide on getting started with Experience Platform APIs.
Create a base connection
A base connection retains information between your source and Experience Platform, including your source’s authentication credentials, the current state of the connection, and your unique base connection ID. The base connection ID allows you to explore and navigate files from within your source and identify the specific items that you want to ingest, including information regarding their data types and formats.
To create a base connection ID, make a POST request to the /connections endpoint while providing your Shopify authentication credentials as part of the request parameters.
API format
POST /connections
Basic authentication
The following request creates a base connection for Shopify using basic authentication:
| code language-shell |
|---|
|
| table 0-row-2 1-row-2 2-row-2 3-row-2 | |
|---|---|
| Property | Description |
auth.params.host |
The endpoint of the Shopify server. |
auth.params.accessToken |
The access token for your Shopify user account. |
connectionSpec.id |
The Shopify connection specification ID: 4f63aa36-bd48-4e33-bb83-49fbcd11c708. |
A successful response returns the newly created connection, including its unique connection identifier (id). This ID is required to explore your data in the next tutorial.
| code language-json |
|---|
|
Access token based
The following request creates a base connection for Shopify using basic authentication:
| code language-shell |
|---|
|
| table 0-row-2 1-row-2 2-row-2 3-row-2 | |
|---|---|
| Property | Description |
auth.params.host |
The endpoint of the Shopify server. |
auth.params.accessToken |
The access token for your Shopify user account. |
connectionSpec.id |
The Shopify connection specification ID: 4f63aa36-bd48-4e33-bb83-49fbcd11c708. |
A successful response returns the newly created connection, including its unique connection identifier (id). This ID is required to explore your data in the next tutorial.
| code language-json |
|---|
|
Next steps
By following this tutorial, you have created a Shopify base connection using the Flow Service API. You can use this base connection ID in the following tutorials: