Migration
Operations

Move Your SaaS to Forte One Part at a Time

Move your backend to Forte while keeping your current database and login. Learn what to test, how to move traffic, and how to prepare to switch back.

Forte TeamPublished November 4, 2026Updated November 7, 20267 min read

Consider a small SaaS team that runs a Node.js API for customers who sign in, save projects in managed Postgres, and pay invoices through Stripe. The team wants to move the API to Forte so it can deploy the app and inspect requests in one place. Customers will keep using the old app while the team tests the copy on Forte, so both copies need to handle the same accounts and saved work.

Test the new API with the app's existing database, login system, and payment provider. If sign-in fails on the new address, the team can start by checking what changed with hosting. Once the API works on Forte, the team can decide whether to move another part of the app.

Choose a small first move

This hypothetical app also sends reminder emails each morning. The team keeps Postgres and Stripe where they are and leaves the email job running on the old platform during the API move.

A Forte Service gets no CPU time between requests, so a timer inside the app can't reliably wake up each morning to send emails. If the team later moves the reminders, Forte Actions, currently in beta, can call a Service on a schedule. The Service must finish the work inside that request, within 120 seconds. A job that needs to run all the time needs a separate plan.

Before starting, list what the API uses, including the database address, login settings, Stripe keys, file storage, and email provider. Record where each setting lives and who can change it so the team can set up and test those connections before customers depend on the new API.

If your app needs persistent workers or WebSockets, check those needs with the Forte team before choosing what to move. WebSocket support is in early access. The migration guide is a good starting point for checking how your app fits.

Deploy a second copy and keep your existing login

Create a Forte Service from the API's GitHub repository. Add the settings and secrets it needs to reach its current dependencies. Keep secrets in the appropriate runtime secret settings, outside the source code.

Before deploying this copy, disable any timers or jobs that run when the app starts. The old platform is still doing that work. You want to test the new API without sending a second batch of emails or starting another queue consumer.

For this first move, let the app keep handling its own login. Forte Services normally check incoming requests for Forte authentication. Use path exclusions so requests reach the app's existing login code, then verify that the app still rejects requests from people who haven't signed in. Authentication path exclusions

The app also needs an HTTP route that Forte can use to check whether it is running, such as /health. Forte discovers the port and health route during deployment. See deploying services for the setup details.

When the deployment is healthy, Forte gives you an HTTPS address to test. Your customers can keep using the old address while you check the new one.

If the copy on Forte connects to the production database, changes you save through it go into production even while customers still use the old address. Start with a test environment where possible. When you need to check the production setup, use a dedicated test account and make changes you can safely remove.

Test the things your customers do

Once the Service answers its health check, use the test account to sign in through the new API, create a project, and edit its name. Then open the old app and look for the project with the updated name. If both copies read and write the same Postgres database, the old app should see the change. If the project is missing, check whether the new copy uses the right database and saves data in a form the old app can read before you move traffic.

Work through the other flows that matter to your product. Try a file upload, a password reset, or an email notification if your app supports them. Test billing through a suitable test setup so you can check the result without charging a customer twice.

Check the settings that depend on where the API runs. Your login provider may need the new address on its list of allowed callback URLs, which tell the provider where to send someone after sign-in. Your database may accept connections only from approved networks, and your API may need to allow browser requests from the frontend's address. Test those connections from the deployed Service.

Finally, make a request that you expect to fail. Find it in Forte's request logs and look at the app logs around it. You want to know how to investigate a problem before that problem affects a customer.

Keep one database and one copy of each job

During this first move, keep both API copies connected to the same database. If each copy saves orders in a different database, you can end up with orders in two places. Sending traffic back to the old app won't bring the new orders with it.

Sharing a database also means keeping the code compatible. Avoid combining the hosting move with a change that removes a database column the old app still needs. You may need the old app again if you switch back.

The same care applies to the morning reminders. Keep the timer off in the Forte copy while the old platform sends the emails, since two copies of the job could send the same customer two reminders.

Keep Stripe sending events to the existing handler until you're ready to move that work. When you do move it, check how your code handles an event that arrives more than once. Receiving the same event again should not grant access twice or send a second receipt.

Decide what must work before you move customers

Before changing the public address, agree on a short set of checks. For this example, the team needs to know that:

  • A customer can sign in, save a change, and read it back.
  • Uploads, emails, and billing behave as expected.
  • The new API can reach the existing database without connection errors.
  • Someone can find a failed request and the logs needed to investigate it.
  • The old API can still run against the current database if the team switches back.

Choose who will watch the move and who can send traffic back. Write down the problems that would cause you to stop, such as failed sign-ins or missing records. Use your normal traffic and error levels as a reference. A quiet test account cannot tell you how the app will behave under its usual load.

Move traffic and keep the old app ready

Add your custom domain to Forte and check that its HTTPS certificate is ready. Then update the DNS record so the domain points to Forte. DNS is the system that tells browsers where to send requests for your domain.

Browsers and other systems can keep using a saved copy of the old DNS answer for a while. During that time, some requests may reach the old API while others reach Forte. Keeping both copies compatible and connected to the same database lets customers see the same saved work whichever copy answers.

Watch sign-ins, saved changes, payment events, and errors during the move. Check response times too. A healthy process can still be slow because it is waiting for a database or another service.

Try a fresh sign-in and open the app in a browser that signed in before the move. Check that the existing session behaves as planned. Keeping the same domain helps, and the new copy also needs the right session settings and any shared session store.

If you need to switch back, restore the old routing and check the customer flows again. Changing DNS alone cannot undo a database change, recover a missed payment event, or remove a duplicate email. Your plan needs to cover any such changes you've made.

Keep the old app available until you've seen enough normal use to trust the new setup. Then remove its unused resources and credentials. Check scheduled jobs and payment callbacks before deleting anything so you don't leave part of the product behind.

Decide what to move next

Once the API is stable on Forte, the team might move the reminder job to Actions or plan a move for user accounts or the database. Test each move separately because each changes a different part of the app.

You can also stop after the API move. Keeping a database or payment provider that already works may be the right choice for your team.

For the hands-on steps, follow the Forte migration guide. If you'd like help planning the move, use the form below. Tell us what runs your app today and what you'd like to move first. Leave out credentials and customer data.

Plan your first move to Forte

Tell us what runs your app today. We'll help you choose what to move first, what to test, and how to switch traffic.

What to Do Before Your AWS Credits Expire
Costs
Migration
AWS

What to Do Before Your AWS Credits Expire

Find your cloud costs before credits, clean up waste, and compare a move to Forte. Leave time to test while both setups are running.

5 min read
What Your Startup's Cloud Bill Leaves Out
Costs
Platform
Engineering

What Your Startup's Cloud Bill Leaves Out

Compare the full cost of running a SaaS, including provider fees, staff work, credits, migration, and uncertain usage.

6 min read