by Sally
August 29, 2023

Beginner’s Guide: How to Get a Shopify API Key

If you use Shopify, you might know what an API is. It stands for application programming interface, and it lets you access and use a program’s features or data with another application. To get the Shopify API key, you have to decide whether to create public apps or private apps.

Public API keys are for apps that are available to all Shopify store owners, such as the ones in its app store.

However, private API keys are for apps that are only used by one store, such as the ones that you create for your own shop.

So how to get a Shopify API key? Let’s explore!

Shopify API Key: What Is It?

As I have said above, a Shopify API key is a code that allows you to access and use the features or data of a Shopify store with another application.

API keys enable merchants, store owners, and vendors to integrate their stores with various tools, such as sales tax tools and the Shopify CRM system.

The process of getting API keys varies depending on the type of app you’re creating. You need to follow different steps if you’re making a private app for one store or a public app for the entire Shopify App Store.

How to Get a Shopify API Key for Private Apps?

Simply go to your Shopify Dashboard or Partner Dashboard to get API Keys for Shopify Private Apps authentication.

Get Keys for Migrating Your Store With ArrowTheme

To migrate your store with ArrowTheme, you have to obtain an Admin API access token first. This will allow you to create a Shopify API key for either a demo or a full migration.

Follow these steps to get the admin API access token:

To start, log in to your Shopify Dashboard and go to Settings. Next, select Apps and sales channels.

Shopify API Apps Sales Channels
Shopify Dashboard display

Then, navigate to Develop apps.

Develop Apps
Apps and sales channels display

Now, hover over Create an app and give the App name. Don’t forget to click Create app.

Create an App for Migration
Create an app display

In the Overview tab of your app, click Configure Admin API scopes.

Configure Admin API scopes for Migration
Overview tab display

In this Admin API access scopes, scroll down and check all “read_…” and “write_…” checkboxes.

Admin API Access Scopes
Admin API access scopes display

Then, click Save to save all your changes.

Save Configure Admin API Scopes
Save all your changes

To get your Admin API token, move your mouse to the top of the page and hit Install app on the right side of the dashboard.

Install App for Migration
Apps and sales channels display

Then, click Install to allow this app to access your data.

The Admin API access token will appear on the Shopify dashboard. You can run your migration now.

API Key for Migration
Apps and sales channels – my app display

Keep in mind that the Admin API token is only displayed once for data privacy purposes. Don’t forget to copy and save your Admin API access token in a safe place.

Get Keys Through Your Shopify Admin Panel

First, you need to open your Shopify Admin Panel -> Apps -> Develop apps for your store.

Develop Apps for Your Store in Shopify Admin
Shopify Admin Panel display

Navigate to Create an App and give the App name.

Create an App in Shopify Admin
Create an app display

Hover over the API credentials tab and find Configure Admin API scopes in the Access tokens section.

Configure Admin API access in Shopify Admin
API credentials tab display

Similar to the above steps, check all the “read_…” and “write_…” checkboxes.

Tick All Permission in Shopify Admin
Check all the read-and-write analytics checkboxes

Don’t forget to Save.

Now, you can see your API Key & API secret key.

Shopify API Key via Shopify Admin
API Key & API secret key display

Get Keys Through Your Partner Dashboard

You can get the Shopify API key via the Partner Dashboard easily if you are a member of the Shopify Partner community, which is made up of a large number of designers, coders, marketers, and partners who create eCommerce themes, websites, and applications utilizing the Shopify platform.

Here are the steps:

Go to your Partner Dashboard -> Apps -> Create App.

Apps in Shopify Partner
Partner Dashboard display

Select the Custom app, which is also called Private app.

Custom App
Create an app: Custom app

In the General settings section, give the App name, App URL, and Allowed redirection URL(s). After that, hit the Create app.

Create App Using Shopify Partner
Custom app: General settings display

Now, you’ll see the API key & API secret key in the API keys section.

Get API Keys Via Shopify Partner
API key & API secret key display

How to Get a Shopify API Key for Public Apps?

Getting credentials from the Partner dashboard and using them for OAuth implementation is necessary to authenticate your Shopify Public Apps.

Here is how to get the Shopify API key:

Go to your Partner Dashboard -> Apps -> Create App.

Apps in Shopify Partner Admin
Create App in Shopify Partner Admin

Choose the Public App.

Public App

In the General settings, give the App name, App URL, and Allowed redirection URL(s). Don’t forget to hit Create App then.

Fill in App Information in Shopify Partner Admin

Now, you’ll see your API key & API secret key in the API keys section.

Get API Key Via Shopify Dashbpard

Shopify Private Apps vs. Shopify Public: What’s Different?

Private AppsPublic Apps
Built for specific storesAny stores, merchants, and developers can share and use.
No need for app approval from ShopifyNeed for app approval from Shopify
Not available for purchase or sale in the Shopify app storeAvailable for sale in the Shopify app store
Create and manage via the Shopify admin or Partner dashboardCreate and manage them via the partner dashboard
Use basic HTTP Shopify authentication for AuthUse Shopify OAuth 2.0 for Auth
Key Differences Between Shopify Private Apps and Public Apps

Common Questions and Answers about Shopify API Key

Is it safe to give a 3rd-party your API key?

No! Remember that sharing the API Credentials with the 3rd-party is prohibited by the Shopify API License and Terms of Use.

Is the Shopify API available without charge?

The majority of other APIs are also free to download, including the Storefront API. Yet some APIs, like the checkout page, need a higher Shopify fee plan.

Read More: How Does Shopify Work – Shipping, Payments & Sellers

Related Posts