Shopify App Installation Guide

Shopify is a leading commerce platform for businesses of all sizes. It allows you to set up an online store to sell your products.

With Marketplace, you can easily install the Shopify application and use it within your stack to refer to products from Shopify in your entries.

Prerequisites

This step-by-step guide explains how to install and configure Shopify within your stack.

The steps to be performed are as follows:

  1. Get your Storefront API access token from Shopify
  2. Install and Configure Shopify in Contentstack Marketplace
  3. Use Shopify within your Stack
  1. Get your Storefront API access token from Shopify

    To get your credentials from Shopify, follow the steps given below:

    1. Login to your Shopify account.
    2. On the Admin portal page, click on Apps from the left navigation menu. 
    3. Then, navigate to the bottom of the Apps page and click on the Develop app for your store link.
      Develop_App_For_Store.png
    4. On the App Development page. click on Create an app. Mention your App name and select the App developer of your app, then click on the Create app button. 
      Create_App.png
    5. On the next screen, navigate to the Configuration section and Configure the Storefront API integration for your app.
    6. Now, select access scopes for your Storefront API and Save your configuration. 
      Save_Configuration.png
    7. Finally, click on the Install app button, confirm your installation and proceed to get the Storefront API access token.
      Storefront_Api_Access_Token.png
    8. The Storefront API access token is required to connect your store with Contentstack so make a note of this access token to be used in the next step.

  2. Install and Configure Shopify in Contentstack Marketplace

    To install the application in Contentstack, follow the steps below:

    1. Login to your Contentstack account.
    2. On the left-hand side primary navigation, you will find a new icon for Marketplace (as shown below). Click on the icon to go to the Marketplace. 
      Marketplace_icon.png
    3. Within the Marketplace, you will be able to see all the apps available, hover over the Shopify app and click on Install App
      Install_App_Shopify.png
    4. In the popup window, select the stack for which you want to install the Shopify app and click on Install.
      Select_Stack.png
    5. Enter the Domain and Storefront API access token on the resulting Configuration page and click on Save.
      Configuration_Page.png
    6. Click on Open Stack to start using the Shopify application.
  3. Use Shopify within your Stack

    To use the Shopify application within an entry of your stack, follow the steps given below:

    1. Go to your stack and click the “Content Models” icon on the left navigation panel, and click on the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below:
       Create_New_Content_Type.png
    3. In the Content Type Builder page, add a Custom field in your content type by clicking on the “Insert a field” link represented by a + sign.
    4. Under Select Extension/App, select Shopify and click on Proceed
      Select_Extension_App.png
    5. After adding the app, click on either Save or Save and Close to save your changes.
      Save_And_Close.png
    6. To use the Shopify app, create an entry for this content type, and you will see this Shopify custom field on your entry page as shown below: 
      Custom_Field_Entry.png
    7. Click on Add Collection, to select collections from your Shopify account and add them to your entry.
      Add_Collection.png
    8. The collections you select are referenced within your entry. You can add more collections by clicking on Add Collection. Finally, Save your entry.
      Referenced_Entry.png

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^