EarlySEO LogoEarlySEO Docs

Shopify (Access Token)

Publish EarlySEO articles to your Shopify store blog using a direct Admin API access token.

Open .mdx

The Shopify (Access Token) integration publishes EarlySEO articles as Shopify blog posts using the GraphQL Admin API with a custom app access token. This method does not require installing the EarlySEO Shopify app — you generate a token from your own custom app inside Shopify admin.

Walkthrough Video

Watch the full setup walkthrough:

If the video doesn't load above, open it directly: https://www.youtube.com/watch?v=11Xl1a0XR2s

Prerequisites

  • A Shopify store on any plan
  • Admin access to your Shopify store
  • At least one Blog created (Online Store → Blog Posts)
  • An EarlySEO account

Setup

1. Create a Legacy Custom App in Shopify

  1. In your Shopify admin go to Settings → Apps and sales channels
  2. At the top, click Develop apps
  3. If prompted, click Allow custom app development and confirm
  4. Click Create an app, give it a name (e.g., "EarlySEO Publishing"), and click Create app
  5. Go to the Configuration tab and click Configure next to Admin API integration
  6. Search for and enable the following Admin API access scopes:
    • write_content — allows creating and updating blog posts
    • read_content — allows reading blogs and articles
  7. Click Save
  8. Go to the API credentials tab and click Install app, then confirm
  9. Under Admin API access token, click Reveal token once and copy it

Note: This uses Shopify's legacy custom app flow under Settings → Apps, not the new Shopify Partners developer dashboard. The access token is only shown once — store it safely.

2. Create the Integration in EarlySEO

  1. Go to Integrations in your EarlySEO dashboard
  2. Click Add Integration and select Shopify (Access Token)
  3. Enter your Shop Domain (e.g., your-store.myshopify.com)
  4. Paste your Admin API Access Token
  5. Click Validate Token — EarlySEO verifies the token and loads your blogs
  6. Select which Blog to publish articles into
  7. Choose a Publishing Status (Active or Draft)
  8. Click Connect

3. Configure Settings

FieldDescription
Shop DomainYour Shopify store domain (e.g., your-store.myshopify.com)
Admin API Access TokenToken from your custom app (starts with shpat_)
BlogThe blog to publish articles into
Publish StatusActive (published immediately) or Draft

How It Works

EarlySEO uses the Shopify GraphQL Admin API to publish articles:

  • New articles are created with articleCreate
  • Updated articles are updated with articleUpdate
  • Articles are matched by handle (URL slug) — if an article with the same slug already exists, it will be updated instead of duplicated

Publishing Behavior

StatusBlog Post State
ActivePost is live immediately on your Shopify store
DraftPost is saved as a draft — review before going live

Shopify vs Shopify (Access Token)

FeatureShopify (App)Shopify (Access Token)
AuthenticationEarlySEO Shopify App (OAuth)Custom App access token
SetupInstall app from Shopify App StoreCreate custom app in admin
APIREST Admin APIGraphQL Admin API
ScopesManaged by EarlySEO appYou control scopes
Best forQuick setupFull control, no third-party app dependency

Troubleshooting

Token validation fails (401 / 403)

  • Ensure you're using the Admin API access token (not a Storefront API token)
  • Confirm the custom app has write_content scope enabled
  • Check that the app is installed (not just created)

No blogs available after validating

  • Your store must have at least one Blog created under Online Store → Blog Posts
  • The custom app must have read_content scope

Posts appear in the wrong blog

  • Delete the integration and recreate it, selecting the correct blog

"Access denied" errors during publish

  • The token may have been revoked — create a new custom app token
  • Ensure the app still has write_content scope

On this page