Website Building » Shopify » How Do I Get My Shopfront Access Token From Shopify?

How Do I Get My Shopfront Access Token From Shopify?

Last updated on January 13, 2023 @ 2:20 am

Access tokens are like the keys to your shop. They provide secure access to your Shopify data from outside apps. Each access token is associated with specific permissions that determine what kind of data an app can access.

For example, an app that only needs to make read-only calls to a store’s resources would only require the read_products scope. An app that needs to write data back to a store (such as creating products) would require the write_products scope.

In order to get your shopfront access token from Shopify, you need to create a private app within your Shopify account. This will generate a unique API Key and Password which will be used to generate your access token.

PRO TIP: If you are planning to get your Shopfront access token from Shopify, be warned that this process is no longer supported. Shopify has sunsetted this feature and you will not be able to generate a new access token.

To create a private app:

  • Log in to your Shopify admin panel
  • Click on Apps
  • Click on the “Manage private apps” link at the bottom of the page
  • Click on the “Create a new private app” button
  • Give your app a name and description, then choose the necessary permissions from the “Admin API” section. For most applications, you will need “Read and write products, customers, orders, etc.”
  • IMPORTANT: Do not select “Allow this app to access your shop’s data using the Shopify API”. This permission is no longer necessary and will actually cause errors.
  • Click on the “Save” button

Your new API Key and Password will now be displayed. These two values are what you will need to generate your access token.

To generate your access token:

  1. Log in to your Shopify admin panel
  2. Click on “Apps”
  3. Click on the “Manage private apps” link at the bottom of the page
  4. Find the app that you want to generate a token for and click on its name
  5. Scroll down to the “Admin API” section and click on the “Create Token” button.
  6. Your new Access Token will now be displayed.

    Congratulations! You have now generated an Access Token for your Shopify shop!

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.