Easy Tech Tuts
Shopify

How to Get Your Shopify API Key | Quick Guide | Easily 2026

By Impran M NLast checked against official docs

Getting a Shopify API key starts in an unexpected place. It's not under Apps, where most people look first, but behind Settings and a separate developer dashboard.

This guide walks that exact path, from the admin home to the Client ID and Secret used in an integration, and covers something worth knowing in 2026: the credentials copied from that screen are not the access token itself, they get exchanged for one. It also covers scoping access narrowly and keeping the Secret safe once it exists.

01Start from your Shopify admin dashboard

Log into the store and land on the admin home, the same screen used for orders, products, and any apps already installed. Existing tools, like a fraud blocker or another integration, show up under Apps in the left menu. That's a useful landmark: API key generation lives one level deeper than this everyday view, under Settings.

The Shopify admin home, with an installed app already showing under Apps in the left menu. This is the starting point before heading into Settings for API access.
The Shopify admin home, with an installed app already showing under Apps in the left menu. This is the starting point before heading into Settings for API access.

02Open Settings, then Apps

Scroll to the bottom of the left-hand menu, click Settings, then choose Apps from the settings list. This page lists every app installed on the store, plus two buttons in the top right: Develop apps and Shopify App Store.

Shopify App Store is for browsing and installing apps built by others. Develop apps is the door into building a custom integration and generating credentials for it.

The Apps settings page, listing installed apps with Develop apps and Shopify App Store buttons — Develop apps is the path to generating custom API credentials.
The Apps settings page, listing installed apps with Develop apps and Shopify App Store buttons — Develop apps is the path to generating custom API credentials.

03Enter the Dev Dashboard

Clicking Develop apps opens Shopify's Dev Dashboard, its current home for building and managing custom apps; the older in-admin app builder is being phased out for new apps. The Dev Dashboard has its own navigation for settings, monitoring, logs, and versions, scoped to the app being created.

Name the app something specific to its purpose. Most stores end up with more than one integration, and a vague name makes them hard to tell apart later.

The App development page prompting entry into the Dev Dashboard, Shopify's current home for building and managing custom apps and their API credentials.
The App development page prompting entry into the Dev Dashboard, Shopify's current home for building and managing custom apps and their API credentials.

04Generate your credentials, then get an access token

Inside the Dev Dashboard, open the app's Settings tab to find the Credentials section: a Client ID and a Client Secret. Neither one is the access token an integration authenticates with.

Dev Dashboard apps use a client credentials grant, so the Client ID and Secret get sent in a request to the store's token endpoint, which returns an access token valid for 24 hours. Most CRMs and no-code connectors handle this exchange automatically once the two values are pasted in; a custom script needs to request a fresh token itself when the old one expires. Treat the Client Secret like a password regardless: it's masked by default, and the Rotate option replaces it if exposure is a concern.

The Credentials panel in the Dev Dashboard, showing the Client ID and a masked Secret. These two values get exchanged for the access token an integration authenticates with.
The Credentials panel in the Dev Dashboard, showing the Client ID and a masked Secret. These two values get exchanged for the access token an integration authenticates with.

05Scope access, then guard the credentials

Decide which data the integration needs before wiring anything together. Shopify's app permissions allow narrow scoping: a marketing automation tool usually only needs read access to customer and order data, while an inventory sync tool needs write access to product stock levels and no reason to touch customer records at all.

Starting narrow is easier than walking back broad access later, once other systems depend on it. Treat the Client Secret, and any access token derived from it, like a password.

Never commit them to a public repository or send them over an unencrypted channel; store them in an environment variable or secrets manager instead of hardcoding them into a script. If a key leaks, rotate it from the Credentials panel immediately and check the app's recent activity logs afterward to confirm nothing unexpected happened while it was still valid.

06Connect your store and monitor the integration

Use the Client ID and Secret in the integration or platform being connected. Most CRMs and automation tools have a dedicated Shopify connector that asks for exactly these two values and handles the token exchange internally.

Test the connection with a low-stakes action first, such as pulling a single order or product, before wiring up anything that writes data back into the store. Once it's live, the Dev Dashboard's Monitoring and Logs sections, in the same left-hand navigation as Settings, are worth checking periodically. A sudden spike in failed requests is often the first sign an access token expired mid-session or a scope changed somewhere else in the chain.

When it doesn't work

The integration returns "unauthorized" even though the Client ID and Secret look correct

Why: The Secret was pasted in as if it were the access token. Dev Dashboard apps authenticate through a client credentials grant, so the ID and Secret have to be exchanged for a token first, and that token expires after 24 hours.

Fix: Confirm the connector performs this exchange on its own, or, when writing custom code, request a fresh token from the store's token endpoint before each session.

Develop apps doesn't offer the old way of creating a custom app

Why: Shopify has been moving new custom-app creation into the Dev Dashboard, and the older in-admin builder no longer applies to new apps.

Fix: Continue through the Dev Dashboard prompt after clicking Develop apps. Existing legacy apps may still show inline, but new ones are built there.

No access token shows up anywhere in the Shopify admin

Why: This is expected for Dev Dashboard apps using a client credentials grant. Tokens aren't stored or displayed in the admin UI.

Fix: Request one programmatically with the Client ID and Secret, and re-request it after 24 hours.

FAQ

Frequently asked questions

Where do I find my Shopify API key?

There's no single "API key" field to copy. Go to Settings > Apps > Develop apps, which opens the Dev Dashboard, then the app's Settings tab for its Credentials: a Client ID and Client Secret. Those two values get exchanged for an access token, which is what authenticates API requests.

Is a Shopify API key free to generate?

Generating credentials is part of an existing Shopify account, at no extra cost. Whatever gets connected to them may carry its own pricing depending on the tool.

What's the difference between the Client ID, the Client Secret, and the access token?

The Client ID identifies the app and is safe to reference in configuration. The Client Secret authenticates it and needs to be handled like a password. Neither is used directly against Shopify's API: Dev Dashboard apps use a client credentials grant, exchanging the ID and Secret for an access token that expires after 24 hours.

What can I do with a Shopify API key?

Common uses include connecting a store to CRMs, automating inventory management, and syncing order or customer data with other business software.

How do I keep my Shopify credentials secure?

Avoid hardcoding the Secret into unsecured files or sharing it publicly, store it in an environment variable or secrets manager, and rotate it from the Credentials panel if exposure is ever a concern.

Sources and last check

Click path and screens come from a walkthrough recorded in July 2025. The credentials step was re-checked against Shopify's official Dev Dashboard documentation in September 2026, which corrected this guide's previous framing of the Client ID and Secret as the API key itself: Dev Dashboard apps authenticate through a client credentials grant, exchanging those values for an access token that isn't shown anywhere in the admin UI and expires after 24 hours.

About the author

Impran M N
Written by

Impran M N

I've been hooked on technology for as long as I can remember — especially the new tools and AI apps that seem to land every other week. Easy Tech Tuts is where I write up whatever I've just worked out: I do the task in the real product, record the screen, and turn it into the guide I wish I'd found first.