How to connect to Shopify

To enable a connection with Shopify, you need to get an API token for your user by completing the following steps.

  1. Create a Shopify App
  2. Vault Connection Setup

1. Create a Shopify App

Login to your Shopify account

Log in to your Shopify account.

Shopify - Login

From the left navigation, click on the "Apps" and click on "App Settings" or click on "Settings" > "Apps".

Shopify - Goto Apps

Click on the "Develop apps" option at the top right section of the page.

Shopify - Apps

Click on the "Develop" option to navigate to the Shopify Dev Dashboard.

Shopify - App Development Overview

Create a new Development App

You are now redirected to the Shopify Dev Dashboard.

Shopify - Dev Dashboard

Click on the "Create app" button and enter your app name.

Shopify - Create app

After creating the app, you will be redirected to the app versions page.

Shopify - App versions

Configure Admin API scopes

To access the data from your Shopify account, you need to configure the Admin API scopes.

Click on the "Select scopes" button to configure the Admin API scopes or directly enter scopes as a comma-separated list.

Shopify - Select Scopes

For the Shopify integration, you need to select the following scopes to allow the integration to read the data from your Shopify account. Shopify has a lot of scopes, so by using the search input, you can easily enable the required scopes.

Suggested scopes for reading data from your Shopify account:

  • read_assigned_fulfillment_orders
  • read_customers
  • read_customer_merge
  • read_discounts
  • read_draft_orders
  • read_fulfillments
  • read_fulfillment_constraint_rules
  • read_gift_cards
  • read_inventory
  • read_online_store_pages
  • read_locations
  • read_merchant_managed_fulfillment_orders
  • read_metaobjects
  • read_orders
  • read_payment_terms
  • read_price_rules
  • read_product_listings
  • read_products
  • read_purchase_options
  • read_returns
  • read_shipping
  • read_locales

Once you have selected the required scopes, click on the "Done" button to save the configuration.

Click on "Release" on the versions page. You can provide a version name and message, then release the app.

Shopify - Release App

Retrieve the Client Credentials and Install App

Navigate to the "Settings" section to retrieve client credentials.

Shopify - Client Credentials

Navigate to the "Home" section to install app, click on the "Install app" button to install the app.

Shopify - App install

After this step, you will be redirected to Shopify to install the app in your store by clicking on "Install".

2. Vault Connection Setup

Now that you have installed the Shopify app with client credentials, you're ready to fill out your credentials in Vault.

Shopify Vault Form

In Vault, you have to fill out the following fields:

  • Shop: which refers to the shop name of your Shopify account
  • Client ID: which refers to the Client ID of your Shopify app
  • Client Secret: which refers to the Secret of your Shopify app

Click Save after completing the form and then click on Authorize. Your Shopify account is now connected.