Published April 12, 2026 Updated April 12, 2026 howto

How to Get a Shopify Access Token for Custom Apps and Integrations

In 2026, obtaining a Shopify access token remains one of the most critical steps for developers, agencies, and businesses looking to build custom applications, integrations, or automations with their Shopify store. Whether you're connecting a third-party tool, building a custom app, or automating workflows, understanding how to generate and manage Shopify access tokens is essential for secure API communication.

A Shopify access token is a unique authentication credential that allows your application to make API requests on behalf of a Shopify store. This guide walks you through everything you need to know about obtaining your Shopify access token in 2026, including the prerequisites, required API scopes, step-by-step instructions, and solutions to common issues.

What You Need

Required API Scopes

Selecting API access scopes in the Shopify Partner Dashboard
Selecting API access scopes in the Shopify Partner Dashboard

API scopes define what permissions your access token has. Before creating a token, you must determine which scopes your application needs. Here are the most common scopes required for different use cases:

Scope What It Allows
read_products Retrieve product information including titles, descriptions, prices, and inventory data from your store
write_products Create, update, and modify products in your store, including pricing and inventory adjustments
read_orders Access order information such as customer details, order status, line items, and transaction history
write_orders Create and modify orders, including order notes, fulfillment status, and customer communications
read_customers Retrieve customer profiles, contact information, addresses, and purchase history

Additional scopes available include write_customers, read_inventory, write_inventory, read_locations, read_fulfillments, write_fulfillments, and many others depending on your integration needs.

Step-by-Step Guide

Follow these detailed steps to generate your Shopify access token through the Admin dashboard:

  1. Log in to your Shopify Admin

    Navigate to your Shopify store's admin dashboard at https://admin.shopify.com. Enter your credentials and authenticate with any two-factor authentication if enabled. Ensure you're using an account with full admin access.

  2. Navigate to Apps and Integrations

    In the left sidebar menu, locate and click on "Apps and integrations" (previously called "Apps" in earlier Shopify versions). This section contains all your installed apps and custom app management.

  3. Access App and Integration Settings

    Click on "App and integration settings" or look for a "Develop apps" option. In 2026, Shopify may label this differently based on your store plan and region, but the functionality remains consistent across all store types.

  4. Create a New App

    Click the "Create an app" button. You'll be prompted to enter a name for your custom app. Use a descriptive name that identifies the purpose of the integration (e.g., "Inventory Sync Tool" or "Email Marketing Integration").

  5. Configure API Scopes

    After creating the app, navigate to the "Configuration" or "Scopes" section. Select all the API scopes your integration requires. Be conservative with permissions—only request the scopes you actually need. For example, if you only read product data, request only read_products, not write_products.

  6. Save and Review Scopes

    Click "Save" to confirm your scope selections. Shopify will display a summary of the permissions you're granting. Review this carefully to ensure all required scopes are included.

  7. Generate Access Token

    Navigate to the "API credentials" or "Admin API" section of your app settings. You should see an option to "Reveal" or "Generate" your access token. Click this button to generate your unique access token. Shopify will display the token only once—copy it immediately and store it securely.

  8. Store Your Token Securely

    Copy your access token and save it in a secure location, such as an environment variable, secure vault, or secrets management system. Never commit tokens to version control systems like GitHub. Your token should be treated like a password—never share it publicly or with unauthorized users.

  9. Test Your Token

    Use your access token to make a test API call to verify it's working correctly. Here's an example using cURL:

    curl -X GET "https://YOUR-STORE.myshopify.com/admin/api/2025-01/products.json" \
      -H "X-Shopify-Access-Token: shpat_YOUR_ACCESS_TOKEN_HERE" \
      -H "Content-Type: application/json"

    Replace "YOUR-STORE" with your actual store name and "shpat_YOUR_ACCESS_TOKEN_HERE" with your generated token. If successful, you'll receive a JSON response containing your products. A 401 Unauthorized error indicates an invalid or expired token.

  10. Implement Token in Your Application

    Store the token in your application's configuration using environment variables. For example, in a Node.js application:

    const accessToken = process.env.SHOPIFY_ACCESS_TOKEN;
    const storeUrl = process.env.SHOPIFY_STORE_URL;
    
    const headers = {
      'X-Shopify-Access-Token': accessToken,
      'Content-Type': 'application/json'
    };

    Always retrieve the token from environment variables or secure configuration files, never hardcode it directly in your source code.

  11. Monitor and Rotate Tokens Regularly

    In 2026, security best practices recommend rotating your access tokens every 90 days. Most development teams use automated systems to cycle tokens and update their applications without downtime. Monitor your token usage through Shopify's Admin audit logs to detect any suspicious activity.

Using GetShopifyToken (Faster Method)

While the manual process outlined above is straightforward, many developers prefer a faster, more automated approach. GetShopifyToken (available at https://getshopifytoken.com) streamlines the entire access token generation process. Instead of navigating through multiple Admin dashboard menus and manually configuring scopes, GetShopifyToken automates token creation with an intuitive interface.

The service handles scope configuration, security best practices, and token storage recommendations automatically. For developers managing multiple Shopify stores or requiring frequent token generation and rotation, this approach saves significant time and reduces configuration errors. GetShopifyToken also provides token management tools, expiration tracking, and security audit features that aren't available in the standard Shopify dashboard.

Common Issues

Related Guides

Frequently Asked Questions

Q: How long does a Shopify access token last?

Shopify access tokens don't have an automatic expiration date—they remain valid indefinitely until you manually revoke them by deleting the associated app. However, Shopify recommends rotating tokens every 90 days as a security best practice. Many organizations implement automated token rotation systems to maintain security without service interruptions.

Q: Can I use the same access token across multiple applications?

Yes, technically you can use the same token in multiple applications, but this is not recommended from a security perspective. If one application is compromised, all applications using that token are at risk. Instead, create separate custom apps for each integration, each with its own access token and only the necessary scopes. This follows the principle of least privilege and limits exposure in case of a breach.

Q: What's the difference between API access tokens and OAuth tokens?

API access tokens are used for custom apps and integrations you build for your own store. They're generated directly in the Shopify Admin dashboard. OAuth tokens are used for public apps distributed to other Shopify merchants through the Shopify App Store. OAuth involves a more complex authentication flow where merchants grant permissions through an authorization page. For custom integrations with your own store, use API access tokens. For building apps to sell or distribute, use OAuth.

Get Your Shopify Access Token in 60 Seconds

Skip the manual OAuth flow. GetShopifyToken automates the entire process — just paste your credentials and get your token instantly.

Generate Token Now →