Tutorial

How to Create a Shopify App
Step by step, in 2026.

Creating a Shopify app means setting up a Partner account, building the app (OAuth, admin UI, webhooks, billing), testing it, and deploying it. This guide walks the whole process — including the two paths: hand-coding and AI generation.

12 min read · Updated June 2026

On this page (8)
  1. What you need first
  2. Two ways to create an app
  3. Step-by-step (the build)
  4. What every app must include
  5. Testing your app
  6. Deploying & going live
  7. How long it takes
  8. FAQ

1. What you need first

Before creating a Shopify app, gather a few prerequisites. They're all free or low-cost:

  • A Shopify Partner account. Free, at partners.shopify.com. This is where you create apps, get API credentials, and manage listings. As of 2026, creating apps requires a Partner account — the old admin-based custom app creation was closed.
  • A development store. Partner accounts include unlimited free development stores for testing. You'll install and test your app here before it touches a real store.
  • A hosting environment. Your app's backend needs a public HTTPS server. Railway, Fly, Render, or similar work well. A simple app starts around $5–$20/month to host.
  • A way to build it. Either coding skills (plus Shopify CLI) or an AI builder that generates the app for you.

That's the full kit. The Partner account and dev store are free; hosting is a few dollars a month; the build method is your choice.

2. Two ways to create a Shopify app

There are two fundamentally different paths, and which you choose shapes everything that follows.

Path A: Hand-code it

You write the app yourself, typically starting from Shopify CLI, which scaffolds a project with OAuth and App Bridge already configured. You then build your features using the Admin GraphQL API, set up webhooks, integrate the Billing API, and build the admin UI with Polaris. This gives total control but requires real development skill and time — you're responsible for getting OAuth, billing, GDPR webhooks, and rate limits right.

Path B: Generate it with AI

You describe the app in plain language and a Shopify-specific AI builder like Shopivibe generates the full stack — OAuth, App Bridge, Billing API, database, admin UI, GDPR webhooks — as production-ready code you own. This is dramatically faster and handles the parts that commonly break (the five technical requirements). You can still edit the generated code.

Which path is right?

If your app is a variant of an established pattern — subscriptions, loyalty, reviews, returns, B2B, upsell, analytics — AI generation is faster and gets the Shopify-specific requirements right. If your app needs genuinely novel logic, Shopify Functions (custom checkout), or deeply custom architecture, hand-coding (or AI generation plus developer refinement) fits better. The rest of this guide covers the shared steps either way.

3. Step-by-step: the build

Step 1: Create the app in the Partner Dashboard

In your Partner account, create a new app. This generates your Client ID and Client Secret — the credentials your app uses for OAuth and webhook verification. You'll also configure the app's URLs (app URL and redirect URLs) here.

Step 2: Scaffold or generate the project

Hand-coding: use Shopify CLI to scaffold an app, which sets up OAuth, App Bridge, and a starter structure. Generating: describe your app to the AI builder, review the generated spec, and generate the code into a GitHub repository you own.

Step 3: Build the features

This is the actual app logic — the loyalty rules, the subscription management, the B2B pricing, whatever your app does. You read and write store data through the Admin GraphQL API, store app-specific data in your database, and react to store events via webhooks. (See the API guide and webhooks guide for these.)

Step 4: Add billing

If you charge merchants, integrate the Billing API — create the subscription, redirect to the confirmation URL, handle activation. Define your pricing plans to match your App Store listing.

Step 5: Set environment variables and connect

Put your Client ID, Client Secret, database URL, and app URL into your hosting environment's configuration. This connects your deployed app to Shopify's OAuth and your database.

4. What every Shopify app must include

Regardless of path, a functioning Shopify app must have five things. Missing any of them means the app breaks or fails App Store review:

RequirementWhy
OAuth with HMAC verificationAuthenticates installs securely
App BridgeMakes the embedded app work in the admin
Billing API (if charging)The only allowed billing method
Three GDPR webhooksRequired for App Store listing
Multi-merchant data isolationSecurity — no cross-store data leaks

These five are exactly where DIY attempts and generic AI tools fail. A Shopify-specific builder generates all five correctly; if you hand-code, you must implement each one to Shopify's spec. The compliance guide covers the requirements in detail.

5. Testing your app

Never test only in production. Use a development store (free with your Partner account) to validate the full lifecycle before any real merchant touches the app:

  • Install flow: install on a fresh dev store and confirm OAuth completes cleanly.
  • Core features: walk through every admin screen and every action. Test empty states (a store with no data).
  • Webhooks: create test orders and confirm your webhooks fire and process correctly.
  • Billing: go through the billing flow and approve a test charge; confirm features unlock only after activation.
  • Uninstall/reinstall: uninstall and reinstall — the app should handle a returning merchant cleanly and your shop/redact webhook should fire.

Test on a few fresh stores, not just your main one — issues with first-install and empty states only surface on clean stores, which is exactly what App Store reviewers use.

6. Deploying and going live

Deploy your app's backend to a public HTTPS host. With a platform like Railway, you connect your GitHub repo, set environment variables, and deploy; migrations run and your app goes live at a public URL. Then choose how to distribute:

Custom distribution (fastest)

Generate a custom distribution install link and share it with the merchant(s) who'll use the app. No review, no revenue share, live immediately. Ideal for your own store, a client's store, or early users.

Public App Store listing

Submit the app for App Store review (5–10 business days) with your listing assets. Once approved, any merchant can find and install it. This adds organic discovery but requires passing review and accepting the revenue share. See the publishing guide for the full process.

7. How long it takes

StepHand-codingAI generation
Partner account + app setup30 min30 min
Building the appDays to weeks15 min generation
TestingHours to days1–2 hours
DeploymentHours15–30 min
App Store review (if listing)5–10 days5–10 days

The build step is where the paths diverge most. Hand-coding a mid-complexity app is a multi-week project; generating it is minutes plus a couple of hours of configuration and testing. For a private app on your own store, AI generation gets you live the same day; for App Store listing, the 5–10 day review applies either way.

The fastest route

If you want a working Shopify app today, the fastest route is generating it with a Shopify-specific AI builder, deploying via custom distribution, and installing it the same day. You can always submit for App Store listing later once it's proven. The first app is free to build and deploy with Shopivibe.

8. FAQ

How do I create a Shopify app?
At a high level: create a free Shopify Partner account, create an app in the Partner Dashboard to get your API credentials, build the app (OAuth, admin UI, webhooks, billing), test it on a development store, deploy it to a public HTTPS host, then install it via custom distribution or submit it to the App Store. You can build it by hand-coding or by generating it with an AI builder like Shopivibe.
Can I create a Shopify app without coding?
Yes. AI builders like Shopivibe generate the full app — OAuth, App Bridge, Billing API, database, admin UI, and GDPR webhooks — from a plain-language description. You get production-ready code you own, without writing it. This is the fastest path from idea to working app, especially for the common app patterns (subscriptions, loyalty, reviews, B2B).
What do I need to create a Shopify app?
A Shopify Partner account (free), a development store for testing (included with the Partner account), a place to host the app (a public HTTPS server like Railway), and either coding skills or an AI builder. For hand-coding you'll also want Shopify CLI, which scaffolds an app with authentication and App Bridge already set up.
How long does it take to create a Shopify app?
By hand, a basic app takes days to weeks depending on complexity; a mid-complexity app can take 6+ weeks. With an AI builder, generation takes 5–15 minutes, configuration and testing 1–2 hours, and you can be live the same day for a private app, or after a 5–10 day App Store review for public listing.
What's the difference between a custom app and a public app?
A custom app is built for a single store (your own or a client's) and installed via a custom distribution link — no App Store review, no revenue share. A public app is listed on the App Store, discoverable by all merchants, requires passing review, and shares revenue with Shopify (0% on your first $1M lifetime, then 15%). Many developers start custom, then list publicly once the app is proven.
Do I need to know GraphQL to create a Shopify app?
To hand-code one, yes — you'll write GraphQL against the Admin API. With an AI builder you don't; you describe the app and the correct GraphQL, OAuth, and billing are generated. Either way, understanding the concepts (API, webhooks, App Bridge, billing) helps you build a better app and evaluate whether your tooling is producing correct Shopify code.
Get started

Build your own
Shopify app with AI

Describe the Shopify app you need — in plain language. Shopivibe handles everything Shopify requires and ships you a production-ready app. The code is yours to keep.

Start building free →
No developer neededLive app in minutesFull code ownership