Guide

Gadget Is Shutting Down: How to Move Your Shopify App to Your Own Server

11 min read
Gadget is shutting down: how to move your Shopify app to your own server
Summarize with:
Share:

Gadget (gadget.dev) is shutting down. If you need a Gadget.dev alternative for a Shopify app, the plan has four steps: pull your code out with ggt pull, replace what Gadget did for you (OAuth, webhooks, the data sync, background jobs), rebuild it as a standard Shopify app, and run it on a server you control. You have until March 31, 2027.

Gadget announced the wind-down on November 9, 2026. It is a careful, honest post from a team that built a good product, and it gives everyone time. Use that time well, because hosting is the easy part of this move.

The harder part is everything Gadget quietly did for you. This guide lists each of those jobs, shows what replaces it in a normal Shopify app, and where each piece runs if you move to your own server with xCloud. If you are weighing platforms more broadly, our Heroku alternatives guide covers the same “apps, workers and Postgres” question.

For the code side, 40rty’s open-source Gadget migration plan is a useful checklist: a Claude Code skill with the steps and traps from moving a Shopify app with 800 stores off Gadget, one store at a time with a way back. It keeps your Gadget code and swaps in stand-ins for Gadget’s packages. This guide takes a different route: rebuild the app on Shopify’s own template and keep only your business logic, which leaves you with a standard app you can run anywhere.

Choosing Native app and the Node.js App Type for a Shopify app repository in xCloud’s Deploy via Git

TL;DR

Short on time? Here is the whole move in a few lines:

  • Dates: new Gadget apps are blocked now, first production deploys end with November 2026, support ends with 2026, and the platform turns off on March 31, 2027.
  • Step 1: export your code with ggt pull. It copies files only. Your app can still read its own records through its API until March 31, 2027, and Gadget’s open-source data extraction tool shows how.
  • Step 2: replace Gadget’s built-in jobs: OAuth and sessions, webhook registration, retries, the daily sync, the copy of Shopify data, and background jobs.
  • Step 3: run the result as a Node.js app with PostgreSQL and a worker. On xCloud that is Deploy via Git, Database engine: PostgreSQL, the site’s .env file and a Supervisor process.
  • Step 4: build for webhook bursts before Black Friday: answer fast, queue the work, make handlers safe to run twice.
  • Agencies: move one app first, write down what broke, then repeat the checklist for the rest.
  • Cost: one flat price per server, not per request or webhook. On xCloud, managed servers start at $5 a month, or the Free plan covers your first server on your own VPS, and several small apps can share one server.
  • No lock-in, again: you end up with a standard Shopify app, your own Git repo and your own PostgreSQL database, so the next platform change can’t force another rewrite.

Hosting Is the Easy Part: Gadget Did Six Jobs You Now Own

If you only remember one line: moving off Gadget is a rebuild of six platform jobs, not a file copy. The table below maps each one to its standard Shopify replacement and to the place it runs on your own server.

Gadget’s docs describe these jobs plainly. It “handles the OAuth process for merchants installing your application out of the box”, “automatically registers webhooks”, and recovers missed webhooks “using a daily background sync” (all from its Shopify connection docs).

What Gadget did for you Standard replacement Where it runs on xCloud
OAuth and sessions Shopify’s React Router app template (@shopify/shopify-app-react-router) with Prisma session storage The Node.js site, with sessions in the site’s PostgreSQL database
Webhook registration App-specific subscriptions in shopify.app.toml, released with shopify app deploy Your computer or CI, pointing at the site’s domain
Retries and duplicates A job queue plus handlers that skip a webhook ID they have seen (X-Shopify-Webhook-Id) A table in PostgreSQL, read by a Supervisor worker
Daily sync of missed webhooks A scheduled job that re-reads recently updated records from the Admin API A cron job or the worker on the same server
A copy of Shopify data in its database Your own Prisma models, filled by webhooks and Shopify bulk operations The site’s PostgreSQL database
Background actions A worker process (database queue, or Redis if you prefer) A Supervisor process on the server
API version upgrades Bump api_version in shopify.app.toml and test on a dev store Your Git repository, then a redeploy

The trade-off is clear. Gadget gave you all of this as one product; a standard app gives you each piece as code you can read, test and move again later. That second property is what this whole exercise is buying.

What Gadget’s Shutdown Means

Gadget will keep existing apps running until March 31, 2027, but you cannot start new ones. Here is every date from the announcement:

Date What happens
November 9, 2026 Gadget announces the shutdown
Now “New applications cannot be started effective immediately”
End of November 2026 Last chance for a first-time deploy to production
End of 2026 Gadget support ends; after that the team keeps “the lights on” and handles critical issues
March 31, 2027 The platform shuts down

Gadget says it will “publish guides and tools for moving your app to other platforms” in the coming weeks and email users when they are ready. Partners will hear from their partner manager; everyone else can write to Gadget support.

The announcement doesn’t cover exporting your data yet. You don’t need to wait for it: your app can still read its own records through its API until March 31, 2027, so start the code work now and export the records when you’re ready.

Step 1: Get Your Code Out

Copy your app’s files to your computer with Gadget’s CLI, ggt, and put them in Git. Your code comes with you; the records in your app’s database do not, so plan their export through your app’s GraphQL API separately. Gadget’s open-source data extraction tool (MIT) is a good starting point for that.

Then mark everything that only works on Gadget: gadget-server imports, the @gadgetinc/* frontend packages, Gelly queries, and your models and actions. Most of your real business logic lives in those actions, so it is the part you keep.

The commands, the full list of Gadget-only code and the data export are in our step-by-step guide: How to Migrate a Shopify App from Gadget.dev to xCloud.

Step 2: Replace What Gadget Did for You

Start a fresh app from Shopify’s React Router template, then move your actions into it one at a time. Shopify CLI creates this template for new apps, and it already handles OAuth, sessions and App Bridge.

Below is what each Gadget job turns into and why. The migration guide has the same mapping as a table, with the steps to rebuild your data.

Sessions and data in PostgreSQL

The template stores sessions with Prisma in a SQLite file by default. On a server, switch Prisma to PostgreSQL so a worker and the web process can share the data and a redeploy can’t touch it. Then add your own Prisma models for the Shopify data your app used to read from Gadget.

To fill those tables the first time, use Shopify’s bulk operations, which let you “asynchronously fetch data in bulk” instead of paging through results by hand.

Webhooks you declare, not register

Put each webhook topic in shopify.app.toml as an app-specific subscription. Shopify recommends this type because it applies “uniformly across every shop that installs your app.” Run shopify app deploy and Shopify registers them for you.

Retries, duplicates and the daily sync

Shopify expects an answer within five seconds, and retries a failed delivery up to eight times in a four-hour period. It can also deliver the same webhook more than once, so store the X-Shopify-Webhook-Id and skip one you already handled.

Shopify also says “webhook delivery isn’t always guaranteed” and recommends reconciliation jobs. That is exactly what Gadget’s daily sync was. Rebuild it as a scheduled job that asks the Admin API for records updated since its last run.

Expiring offline tokens: the January 1, 2027 deadline

Gadget managed your app’s Shopify access tokens. Now you do, and Shopify is changing the rules first: public apps must move to expiring offline access tokens. On January 1, 2027, apps still on non-expiring tokens are delisted from the Shopify App Store and blocked from new installs; existing installs keep working. From April 1, 2027, Shopify rejects their Admin API calls (migration guide, Shopify changelog).

Build your new app with expiring offline tokens and refresh them before they expire. Merchants don’t need to reinstall: Shopify lets you exchange an existing non-expiring token for an expiring one (migration guide). That deadline lands three months before Gadget’s, so plan the token change into the move, not after it.

Step 3: Run It on Your Own Server With xCloud

On xCloud, a Shopify app runs as a native Node.js site deployed from Git, with a PostgreSQL database that xCloud creates for you. You bring the server; xCloud sets up the web server, SSL, PM2 and the database.

The short version of the flow:

  1. Install managed PostgreSQL on an Nginx server and wait until it shows Ready (how to install it).
  2. Add New Site → Deploy via Git, paste the repository, pick Native app and the Node.js App Type.
  3. In Build & serving, set Serving mode to SSR (Node process), the start command and port 3000.
  4. Set Database engine to PostgreSQL. xCloud creates the database and adds DATABASE_URL to the site’s environment.
  5. Add SHOPIFY_API_KEY, SHOPIFY_API_SECRET, SCOPES and SHOPIFY_APP_URL in the Environment file (.env) field.
  6. Add SSL to your domain, point application_url in shopify.app.toml at it, and run shopify app deploy.
  7. Run your worker as a Supervisor process so it restarts if it stops.

Setting Database engine to PostgreSQL when creating the Shopify app site in xCloud

👉 Every field and command is in How to Deploy a Shopify App on Your Own Server with xCloud. For the general Node.js flow, see How to Deploy a Node.js Application with xCloud, and for how a deploy treats your secrets, Environment Variables (.env) and Git Deployments.

Step 4: Plan for Webhook Bursts Before Black Friday

Your app now has to absorb peak traffic that Gadget used to absorb for everyone. For a sense of scale, Gadget processed 173,078,683 webhooks over the BFCM 2025 weekend, with a sustained peak of about 52,660 per minute on Cyber Monday (Gadget, December 2025).

That was the whole platform, not one app. But it tells you the shape of the problem: traffic arrives in spikes, and the spikes land on your busiest merchants’ busiest day.

  • Answer fast. Verify the HMAC, save the payload, return 200. No slow API calls inside the request.
  • Queue the work. A jobs table in PostgreSQL is enough for most apps; the worker picks jobs up in order.
  • Make handlers idempotent. Skip a webhook ID you have processed, so a retry never charges, emails or syncs twice.
  • Size for the peak. Watch CPU and memory in server monitoring during busy days and resize before a big sale.

Moving Many Apps? A Checklist for Agencies

Move one small app first, then reuse what you learned on the rest. Agencies running many Gadget apps have the most work and the same deadline, so a repeatable checklist pays off.

Per app Done when
Code pulled and in Git ggt pull output committed to its own repository
Gadget-only code listed Every gadget-server import and action has a planned home
Data plan written You know which records you can rebuild from Shopify and which you cannot
Rebuilt on the template Installs, loads in admin and handles one webhook on a dev store
Deployed Site live with SSL, worker running, logs clean
Switched shopify app deploy points the live app at the new URL

Keep one server per group of small apps, and give busy apps their own server so one merchant’s sale can’t slow the rest.

Why Run Your Shopify App on xCloud

xCloud gives you a server you fully control, a panel that does the server work for you, and one fixed monthly price per server. After a platform shutdown, those things matter more than any feature list: you own the code, the data and the server, so nobody can switch it off under you again.

What you get What it means for a Shopify app
Own your data Your records live in a PostgreSQL database on your server, and your code lives in your Git repository.
Your server or ours Bring a server from your own cloud account, or use one of ours. Same xCloud panel either way.
Full freedom, move once A standard Shopify app on a standard Linux server. No proprietary framework to rewrite if a vendor changes plans.
Predictable billing Pay per server per month, not per request, webhook or CPU second. A Black Friday spike doesn’t change the price of your plan.
Root access and full control It’s a real server. Install what your app needs, run any worker, read every log.
Security on by default Firewall, SSH lockdown, Fail2Ban, isolated site users and automated security updates from day one.
An easy panel Git deploys, .env, PostgreSQL, workers, cron, SSL and monitoring from one dashboard, no server scripts.
Host anything Run your other Shopify apps, a WordPress site, a Laravel API or a Docker app on the same server and panel.

No lock-in, again: own your data and move once

The lesson from this shutdown is simple: don’t build on something you can’t take with you. On xCloud, your app is plain Node.js code in your own Git repository, your data sits in a PostgreSQL database on your server, and you hold root access to all of it.

Nothing in that setup is xCloud-specific. If your needs change, you copy the database and deploy the same code somewhere else, with no rewrite. You move because you want to, not because a platform closed, so you don’t end up migrating the same app again and again.

Your server or ours

Same xCloud panel. Bring your own server, or use ours:

  • Self-managed (your server): connect a server from your own cloud account. You keep the provider account and the machine, and you pay the provider directly.
  • xCloud Managed (our server): we supply the server, so you have one bill and nothing else to sign up for.

Either way you get the same deploys, PostgreSQL, workers, security and root access.

Predictable billing: pay per server, not per webhook

With xCloud Managed, we supply the server: plans start at $5 a month per server, with unlimited sites, free SSL and the full panel included. With Self-managed, you bring your own server from Hetzner, DigitalOcean, Vultr, AWS, Google Cloud or any provider with Ubuntu, pay that provider directly, and the Free plan covers your first server. Either way, the price doesn’t grow with your webhook count. Compare plans on the pricing page.

Root access and full control

You get root access to every server, through the dashboard terminal, sudo users and key-based root SSH or SFTP (how root access works). Need a system package, a second worker or a custom Nginx rule? Add it. Your app is a standard Shopify app on a standard Linux server, so you can move it again any time.

Security on by default

Every server is locked down when it is set up: root can only log in with SSH keys, each site runs as its own isolated system user, and Fail2Ban blocks repeated failed logins. Ubuntu security packages update automatically (how automated security updates work), and the Security Center lists anything that needs your attention. See server and website security on xCloud for the full list.

An easy panel for the server work

You don’t write provisioning scripts. Deploy from GitHub, GitLab or Bitbucket, edit the .env, create the PostgreSQL database, add a Supervisor worker, schedule cron jobs, issue SSL and watch CPU and memory, all from the same dashboard. Your team works in one place instead of SSH sessions and wiki pages.

Host anything on the same server

A Shopify app is rarely the only thing you run. The same server and panel can host your other Node.js apps, a Laravel or PHP backend, a WordPress site for your app’s marketing pages, a Docker app from Git, or one-click apps such as n8n. Agencies moving many Gadget apps can group small apps on one server and give busy ones their own.

What xCloud Does Today, and What It Doesn’t

xCloud runs the standard Shopify app stack on your server; it does not replace Gadget’s framework. Be clear on both sides before you choose.

What xCloud does today:

  • ✅ Deploys a Node.js app from GitHub, GitLab or Bitbucket, builds it and runs it with PM2.
  • ✅ Creates a PostgreSQL database for the site and writes DATABASE_URL for you (on a server with managed PostgreSQL Ready).
  • ✅ Gives you a .env editor, the Node.js Version choice, a custom domain with SSL and the site’s PM2 Log.
  • ✅ Runs workers as Supervisor processes and scheduled jobs with cron.

What it doesn’t do:

  • ❌ No Shopify one-click template and no import tool for Gadget apps. You do the code work in Steps 1 and 2.
  • ❌ No built-in webhook queue or data sync. You write them, as you would on any host.
  • ❌ You choose and size the server, so a traffic spike is yours to plan for.
  • ❌ Site backups don’t include the PostgreSQL database yet, and a PostgreSQL site can’t yet be cloned, migrated to another server, staged or snapshotted from the dashboard. Until it can, back up the database yourself, for example with a pg_dump cron job that copies the dump off the server.

If you would rather not run servers at all, a container platform such as Render or Fly.io can run the same app. The code you write in Step 2 works on either; that portability is the point.

Shopify apps already run on xCloud, and our team can help you move

Shopify apps already run in production on xCloud servers, so you aren’t the first to put one here. If you’d like a hand, our team can help with the migration: tell us how many apps you have, what they’re built with and your deadline, and we’ll help you plan the move and set it up on xCloud. Contact us or open a ticket from the support portal.

Get Your Shopify App Off Gadget Before the Deadline

The shutdown date is fixed, but the work is mostly yours to schedule. Pull your code this week, list what Gadget did for you, and rebuild one app on Shopify’s template with PostgreSQL and a worker.

Then put it on a server you control. If you want the Node.js hosting handled for you on your own server, start with xCloud’s pricing and follow the deploy guide step by step. Read about the database side in Managed PostgreSQL and pgAdmin on xCloud, and if you want help moving, contact our team.

If you have found this blog helpful, feel free to subscribe to our blogs for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our Facebook community to share insights and engage in discussions.

Frequently Asked Questions

Is Gadget shutting down?

Yes. Gadget announced on November 9, 2026 that it is shutting down its platform, citing current financial realities. Existing apps keep running until March 31, 2027, and Gadget asks every developer to start planning a move now.

When does Gadget shut down?

The platform stays up until March 31, 2027. New apps can no longer be started, first-time production deploys are allowed until the end of November 2026, and Gadget support stays available until the end of 2026.

What is the best Gadget alternative for Shopify apps?

For most teams, a standard Shopify app built on Shopify’s React Router app template, with PostgreSQL and a worker, running on a server you control. It is the setup Shopify documents, so you are not tied to one platform again. xCloud is one managed way to run it on your own server; Render, Fly.io or a plain VPS are others.

What are people moving to after gadget.dev?

Most teams rebuild the app on Shopify’s own React Router template with PostgreSQL and a worker, then pick where it runs: a plain VPS they manage themselves, a container platform such as Render or Fly.io, or a managed server panel such as xCloud. The common thread is a flat monthly price and code they can take anywhere, so a platform change never forces another rewrite. 40rty’s open-source migration plan is a useful checklist of the traps along the way.

Can I host a Shopify app on a VPS?

Yes. A Shopify app is a web app that Shopify calls over HTTPS, so any server with Node.js, a database and an SSL certificate can run it. With xCloud you deploy it from Git as a Node.js site; the step-by-step guide is How to Deploy a Shopify App on Your Own Server with xCloud.

Do I lose my data when Gadget shuts down?

Not if you export it before March 31, 2027. Until then your app can still read its own records through its API. ggt pull copies files only, so read your records out through your app’s GraphQL API with an API key. Gadget’s open-source gadget-data-extraction tool shows how to page through your app’s models. Rebuild Shopify data from Shopify’s own API, and export only the records that exist just in Gadget.

How do I handle Shopify webhooks without Gadget?

Declare them as app-specific subscriptions in shopify.app.toml and release them with shopify app deploy. In your handler, verify the request, store the job, and return 200 within five seconds. A worker does the slow part, skips duplicates by the X-Shopify-Webhook-Id header, and a scheduled job re-reads recent data in case a delivery was missed.

Why host a Shopify app on xCloud?

You get a server you fully control with root access, security set up by default, and a panel for Git deploys, PostgreSQL, workers, cron and SSL. Billing is per server per month, not per request or webhook, so a Black Friday spike doesn’t change your price. You own your code and your data, you can use your own server or ours, and our team can help with the move. The same server can also host your other apps and sites.

Last updated November 10, 2026

← All articles