Shopify Introduces App Automation Tokens for CI/CD Deployment
Patch your CI/CD pipelines to use SHOPIFY_APP_AUTOMATION_TOKEN instead of legacy CLI tokens; set the env var and run shopify app deploy --config production --allow-updates.
Patch your CI/CD pipelines to use SHOPIFY_APP_AUTOMATION_TOKEN, set the env var, and run shopify app deploy --config production --allow-updates; migrate from legacy CLI tokens before they expire.
Summary
Shopify has introduced app automation tokens that enable app-scoped authentication for the Shopify CLI, allowing developers to automate app releases in CI/CD pipelines such as GitHub Workflows.
These tokens replace the older CLI tokens that were generated on the Partner Dashboard and are now considered legacy. By setting the token as an environment variable (SHOPIFY_APP_AUTOMATION_TOKEN) and running the command `shopify app deploy --config production --allow-updates`, developers can deploy their apps directly from their CI/CD environment. The new tokens provide tighter security and control because each token is scoped to a single app.
Existing CLI tokens will continue to work until they expire, but Shopify recommends migrating to app automation tokens to take advantage of the latest CLI features. The migration process is straightforward and documented on Shopify.dev, where developers can learn how to replace partner dashboard tokens with automation tokens. This change is especially relevant for teams that rely on automated deployments and need robust, app‑specific authentication.
Key changes
- App automation tokens provide app-scoped authentication for the Shopify CLI
- Tokens replace legacy CLI tokens generated on the Partner Dashboard
- Tokens can be used in CI/CD workflows via the SHOPIFY_APP_AUTOMATION_TOKEN environment variable
- Deployment command: shopify app deploy --config production --allow-updates
- Existing CLI tokens remain functional until they expire but migration is recommended
- Tokens enhance security and control by scoping to a single app
- Migration documentation is available on Shopify.dev