Skip to content

gatsby-source-shopify setup - private apps deprecated #34828

Answered by njbmartin
DavidBuck asked this question in Help
Discussion options

You must be logged in to vote

Ok, so first things first, this is how to configure the plugin:

    {
      resolve: `gatsby-source-shopify`,
      options: {
        storeUrl: process.env.SHOPIFY_STORE_NAME,
        password: process.env.SHOPIFY_ADMIN_ACCESS_TOKEN,
        downloadImages: false,
      },
    },

To generate the SHOPIFY_ADMIN_ACCESS_TOKEN:

  1. Create a new custom app in Shopify
  2. Click on Configure Admin API Scopes
  3. Enable all the necessary scopes and save them:
  • Read access for Products
  • Read access for Product listings if you want to use Shopify’s Product Collections in your Gatsby site
  • Read access for Orders if you want to use order information in your Gatsby site
  • Read access for Inventory and Locations if…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
2 replies
@DavidBuck
Comment options

@t-kietzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@gatsbywpthemes
Comment options

@yinkakun
Comment options

@gatsbywpthemes
Comment options

@koskokos2
Comment options

@JakeWalker23
Comment options

Answer selected by DavidBuck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
10 participants