Authorizations Supported
The XO Platform supports basic authentication for Shopify. See App Authorization Overview for details.| Authorization Type | Basic Auth |
|---|---|
| Pre-authorize the Integration | Yes |
| Allow Users to Authorize the Integration | Yes |
Step 1: Enable the Shopify Action
Prerequisites:- Create a custom app in the Shopify admin page.
- Authenticate the custom app by installing it.
- Generate API credentials and access tokens. See Shopify custom apps.
- Configure the app with the following scopes:
read_ordersread_productsread_customers
- Copy the Admin API access token and Domain from Shopify.
- Go to App Settings > Integrations > Actions.
- Select Shopify.
Pre-authorize the Integration
Basic Auth- Go to App Settings > Integrations > Actions and select Shopify.
- In Configurations, select the Authorization tab.
-
Set Authorization Type to Pre-authorize the Integration > Basic Auth.
-
Enter the following details:
- User Sub Domain – The domain name of the Shopify account.
- API Key – The secret API key of your Shopify account.
-
Click Enable. The Integration Successful pop-up is displayed.
The Shopify action moves from Available to Configured after enabling.
Allow End User to Authorize
- Go to App Settings > Integrations > Actions and select Shopify.
- In Configurations, select the Authorization tab.
- Set Authorization Type to Allow Users to Authorize the Integration > Basic Auth.
-
Click Select Authorization > Create New.
- Select API Key as the authorization mechanism. See App Authorization Overview.
-
Enter the following credentials:
- Name – Name for the Basic Auth profile.
- Base URL – Base tenant URL for the Shopify instance.
- Authorization Check URL – Authorization check URL for your Shopify instance.
- Description – Description of the profile.
- Click Save Auth to save the profile.
- Select the new Authorization Profile.
- Click Enable.
Step 2: Install the Shopify Action Templates
-
On the Integration Successful dialog, click Explore Templates.
You can also click Skip for Now to install templates later.
-
Click Install to begin installation.
- Once installed, click Go to Dialog. A dialog task for each template is auto-created.
-
Select the desired dialog task and click Proceed.
-
The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.