How to Create a Shopify Custom App & Generate Admin API Keys (Step-by-Step)
Home/Journal/How to Create a Shopify Custom App & Generate Admin API Keys (Step-by-Step)
Development
6 min read

How to Create a Shopify Custom App & Generate Admin API Keys (Step-by-Step)

Tech TeamDecember 4, 2025

If you're building a SaaS product like OrdersPilot or integrating deeply with Shopify stores, creating a custom app is the most reliable and scalable way to access store data securely.

Why Use a Shopify Custom App?

Public apps are great for distribution, but custom apps are built specifically for a single store. They provide direct, secure access to Shopify's Admin APIs without going through the public app approval process.

For backend-heavy SaaS tools like OrdersPilot, custom apps allow you to:

  • ⚑ Access orders, inventory, and fulfillment data in real-time
  • βš™οΈ Automate workflows like stock syncing and shipment creation
  • πŸ” Maintain a secure, token-based connection to each store

Step 1: Enable Custom App Development

Before creating a custom app, Shopify requires you to enable custom app development:

  1. Go to Shopify Admin β†’ Settings
  2. Click on Apps and sales channels
  3. Select Develop apps
  4. Click Allow custom app development and confirm

Apps and sales channels Apps and sales channels

Step 2: Create a New Custom App

  1. Click Create an app
  2. Enter app name (e.g., "OrdersPilot Integration")
  3. Assign a developer (your email)
  4. Click Create app

Create an app Create an app

Step 3: Configure Admin API Permissions

Note

This is the most critical step. Your app permissions define what data you can access.

  • read_orders, write_orders
  • read_inventory, write_inventory
  • read_products
  • read_fulfillments, write_fulfillments

Steps:

  1. Go to Configuration β†’ Admin API integration
  2. Select required scopes
  3. Click Save

Configuration Admin API integration Configuration Admin API integration

Step 4: Install the App

Once permissions are set:

  1. Click Install app
  2. Approve installation

Tip

This generates your Admin API Access Token.

Step 5: Get Your API Credentials

  • Admin API Access Token
  • API Key & API Secret Key
  • Store URL

Important

The Admin API Access Token is shown only once. Store it securely.

Admin API Access Token Admin API Access Token

Step 6: Integrate with OrdersPilot

  1. Login to OrdersPilot Dashboard
  2. Go to Sidebar β†’ Brands
  3. Click on Add Brand button
  4. Enter your store URL (e.g., yourstore.myshopify.com)
  5. Enter your Admin API Access Token
  6. Fill other details
  7. Click on Save

Add Brand Add Brand

Done πŸŽ‰

Now you can sync orders from your Shopify store to OrdersPilot after setuping webhook.

How to Setup Shopify Webhooks β†’

How to Use the Access Token

GET https://yourstore.myshopify.com/admin/api/2024-01/orders.json
Headers:
X-Shopify-Access-Token: YOUR_ACCESS_TOKEN

How OrdersPilot Uses This

  • πŸ“¦ Syncs orders across multiple stores
  • πŸ”„ Automatically updates inventory in real-time
  • 🚫 Prevents overselling
  • 🚚 Manages fulfillment workflows

Security Best Practices

  • Never expose the access token on frontend
  • Store tokens encrypted
  • Use environment variables
  • Rotate tokens if compromised

Final Thoughts

Shopify custom apps are the backbone of any serious Shopify SaaS integration. Once set up correctly, they unlock powerful automation capabilities.

Frequently Asked Questions

Q
What is a Shopify Custom App?

A Shopify Custom App is a private application built specifically for your store to connect with external platforms like OrdersPilot using the Admin API without requiring a public app store listing.

Q
How do I get my Admin API Access Token?

You can generate the token by going to Settings > App and sales channels > Develop apps > Create an app, and then configuring the Admin API integration scopes.

Q
Is it safe to share my API keys?

You should never share your API Secret Key or Access Token publicly. Only provide them to trusted platforms like OrdersPilot through their secure integration dashboard.

Author

Tech Team

Deeply passionate about optimizing e-commerce logistics and building systems that help D2C founders regain control of their operations.

Enjoyed this article?

If you found this helpful, share it with your network and help other Shopify founders scale their operations.