<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt" -->

---
title: Shopify Lets You Script the Token, Not the App | daily.dev
description: Shopify offers no public API to register an application and mint a client_id/client_secret — that step remains dashboard-only in the Partner Dashboard or store...
canonical: https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Shopify Lets You Script the Token, Not the App | daily.dev
og:description: Shopify offers no public API to register an application and mint a client_id/client_secret — that step remains dashboard-only in the Partner Dashboard or store...
og:url: https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt
og:image: https://api.daily.dev/og/posts/a6cR6yBDT.png
og:image:alt: Shopify Lets You Script the Token, Not the App
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify Lets You Script the Token, Not the App

**[API Evangelist](https://daily.dev/sources/apievangelist)** · 12 min read · 0 upvotes · 0 comments

## Summary

Shopify offers no public API to register an application and mint a client_id/client_secret — that step remains dashboard-only in the Partner Dashboard or store admin. What is scriptable is the OAuth authorization code grant that turns an existing app's credentials into a per-store Admin API access token, including HMAC verification, state checks, and a server-to-server token exchange. A companion Node.js script (18+, no dependencies) automates this token exchange, opening a browser, catching the redirect on a fixed local callback, verifying HMAC/state, and printing the offline (non-expiring) access token. The redirect URI still has to be manually allowlisted in the app settings once. The piece argues that platforms marketing 'agentic commerce' should also expose a Dynamic Client Registration endpoint or authenticated Partner API so app creation itself can be automated.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://apievangelist.com/2026/08/21/shopify-app-registration-is-dashboard-only>

## Questions this post answers

### How do I automate getting a Shopify Admin API access token without manually clicking through the OAuth flow each time?

You can script the OAuth authorization code grant once you already have an app's client_id and client_secret from the Partner Dashboard: point the merchant's browser at the shop's /admin/oauth/authorize endpoint with your client ID, scopes, redirect_uri, and a state nonce, then verify the returned hmac and state before exchanging the code server-to-server at /admin/oauth/access_token to receive an offline, non-expiring access token.

_For teams scripting Shopify integrations, daily.dev surfaces practical OAuth automation approaches like this one._

### Can I create a Shopify app or get a client_id and client_secret entirely through an API call?

No, there is no public endpoint to create a Shopify app or mint a client_id and client_secret programmatically; this must be done by hand in the Partner Dashboard by clicking through forms to copy the API key and secret from the credentials screen. Custom apps similarly require a store owner to manually generate an Admin API access token inside their own admin panel.

_Developers weighing platform readiness for agent-driven onboarding can follow coverage like this on daily.dev._

### Why does my Shopify OAuth callback need HMAC verification and what does it check?

HMAC verification confirms that a Shopify OAuth callback is genuinely from Shopify and not forged: Shopify signs all query parameters except hmac and signature by sorting them, joining them as key=value pairs with ampersands, and computing an HMAC-SHA256 digest over the app's client secret, which your server must recompute and compare using a timing-safe equality check.

_Engineers hardening OAuth callback handling can track implementation details like this via daily.dev._

## Similar posts on daily.dev

- [HubSpot Has the OAuth, but Not the Onboarding](https://daily.dev/posts/hubspot-has-the-oauth-but-not-the-onboarding-okwqcfgri) · API Evangelist · 0 upvotes · 0 comments
- [PayPal Lets You Mint a Token, But Not Register the App](https://daily.dev/posts/paypal-lets-you-mint-a-token-but-not-register-the-app-nq46w8zpd) · API Evangelist · 0 upvotes · 0 comments
- [Square Made the OAuth Dance Scriptable, but Left Onboarding at the Dashboard Door](https://daily.dev/posts/square-made-the-oauth-dance-scriptable-but-left-onboarding-at-the-dashboard-door-f1he6lz5n) · API Evangelist · 0 upvotes · 0 comments
- [Offline access tokens now support expiry and refresh](https://daily.dev/posts/offline-access-tokens-now-support-expiry-and-refresh-x4a6bm6ix) · Shopify Developer changelog · 0 upvotes · 0 comments
- [What Programmatic Onboarding Looks Like When Discord Won't Let You Register an App](https://daily.dev/posts/what-programmatic-onboarding-looks-like-when-discord-won-t-let-you-register-an-app-25e1jh5cb) · API Evangelist · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#nodejs](https://daily.dev/tags/nodejs), [#authentication](https://daily.dev/tags/authentication), [#oauth](https://daily.dev/tags/oauth), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Shopify Lets You Script the Token, Not the App","url":"https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt"},"datePublished":"2026-08-21T00:09:27.920Z","dateModified":"2026-09-13T18:56:37.090Z","description":"Shopify offers no public API to register an application and mint a client_id/client_secret — that step remains dashboard-only in the Partner Dashboard or store...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5421e7e655f101aa7c1830eaaf71b964?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5421e7e655f101aa7c1830eaaf71b964?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"API Evangelist","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"API Evangelist","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a36244ae67bc4f41a605f780267ecb5f","url":"https://daily.dev/sources/apievangelist"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,nodejs,authentication,oauth,shopify","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"API Evangelist","item":"https://daily.dev/sources/apievangelist"},{"@type":"ListItem","position":3,"name":"Shopify Lets You Script the Token, Not the App"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/shopify-lets-you-script-the-token-not-the-app-a6cr6ybdt#faq","mainEntity":[{"@type":"Question","name":"How do I automate getting a Shopify Admin API access token without manually clicking through the OAuth flow each time?","acceptedAnswer":{"@type":"Answer","text":"You can script the OAuth authorization code grant once you already have an app's client_id and client_secret from the Partner Dashboard: point the merchant's browser at the shop's /admin/oauth/authorize endpoint with your client ID, scopes, redirect_uri, and a state nonce, then verify the returned hmac and state before exchanging the code server-to-server at /admin/oauth/access_token to receive an offline, non-expiring access token. For teams scripting Shopify integrations, daily.dev surfaces practical OAuth automation approaches like this one."}},{"@type":"Question","name":"Can I create a Shopify app or get a client_id and client_secret entirely through an API call?","acceptedAnswer":{"@type":"Answer","text":"No, there is no public endpoint to create a Shopify app or mint a client_id and client_secret programmatically; this must be done by hand in the Partner Dashboard by clicking through forms to copy the API key and secret from the credentials screen. Custom apps similarly require a store owner to manually generate an Admin API access token inside their own admin panel. Developers weighing platform readiness for agent-driven onboarding can follow coverage like this on daily.dev."}},{"@type":"Question","name":"Why does my Shopify OAuth callback need HMAC verification and what does it check?","acceptedAnswer":{"@type":"Answer","text":"HMAC verification confirms that a Shopify OAuth callback is genuinely from Shopify and not forged: Shopify signs all query parameters except hmac and signature by sorting them, joining them as key=value pairs with ampersands, and computing an HMAC-SHA256 digest over the app's client secret, which your server must recompute and compare using a timing-safe equality check. Engineers hardening OAuth callback handling can track implementation details like this via daily.dev."}}]}
```

