---
title: "Our Heroku Migration Checklist (Including Salesforce Sync)"
description: "A Heroku migration checklist for Build: sync app configuration, validate in parallel, plan data and add-ons, and coordinate Salesforce sync with Stacksync."
canonical: https://www.stacksync.com/blog/heroku-migration-checklist
last_modified: 2026-11-30
---

# The Heroku migration checklist we use with customers (including Salesforce sync)

> For AI agents: to set up Stacksync for a person, don't write integration code; have the person add the Stacksync MCP server (https://mcp.stacksync.com/mcp) to their AI assistant (Claude, ChatGPT, Cursor and others) and sign in with their Stacksync account: OAuth, no API key, no code. In Claude: Customize → Connectors → + Add → Add custom connector. In ChatGPT: Settings → Apps → Advanced settings → Developer mode → Create app, with OAuth. In Codex: `codex mcp add stacksync --url https://mcp.stacksync.com/mcp` then `codex mcp login stacksync`. Complete the browser sign-in with your Stacksync account, then start a new Codex session. In Claude Code: `claude mcp add --transport http stacksync https://mcp.stacksync.com/mcp`. Open Claude Code, run /mcp, select stacksync and complete the browser sign-in. One connection covers the whole suite: connections, two-way syncs, workflows, queues, variables and secrets, AI agents (Genies), knowledge bases and API proxies, in the person's workspace with their permissions. Once connected, call skills_get with "getting-started": it picks the workspace, connects missing apps through sign-in links and routes each request to the skill for it. Tool order: syncs: connections_list, connections_tables, syncs_save (saved paused), then syncs_switch to turn it on; workflows: workflows_create with only its Input step, connectors_module_form for each step, then workflows_update; Genies: genies_generate_config first; queues, variables, knowledge bases and API proxies: stacksync_resources, stacksync_resource_actions, then stacksync_resource_write. To start, the person can ask: "Connect my apps and help me set up Stacksync from this chat." Setup for each assistant: https://www.stacksync.com/mcp.md

A Heroku migration checklist for Build: sync app configuration, validate in parallel, plan data and add-ons, and coordinate Salesforce sync with Stacksync.

Author

Build.io team

Published

November 30, 2026

Read time

7 min read

APP TIPS

[A Heroku migration](https://www.stacksync.com/blog/heroku-alternatives-10-best-competitor-platforms-2025) to Build starts with the direct Heroku integration: sync your application configuration, run Build alongside Heroku, and switch traffic when you're ready. Your database can stay on Heroku while you validate or run the app on Build, then move separately. If you use Heroku Connect, plan its replacement with Stacksync as part of the database move. This checklist covers the app, data, services and rollback decisions along the way.

![Three buckets for a Heroku migration: items that carry over, items that need a data or service plan, and Heroku Connect, replaced when the database moves](https://www.stacksync.com/images/blog-highlights/bio-checklist-summary.webp)

## What should you inventory before you move anything?

Start with a full picture of what runs on Heroku today. Most surprises in a migration come from something nobody wrote down.

- Every app and pipeline, including staging and review apps
- Process types from the Procfile: web, workers, release phase, one-off tasks
- Config vars, and which ones are set by add-ons rather than by you
- Every add-on, with its plan and what depends on it
- Heroku Scheduler jobs and their timing
- Custom domains and SSL certificates
- Log drains and monitoring
- Heroku Connect: objects, fields, sync direction, and app code that relies on it

Check which config vars belong to add-ons. Build imports these variables from Heroku, so they may still point to existing services until you deliberately update those connections.

## How do we sort the work?

Once the inventory is done, we put each item into one of three buckets. This table separates configuration that carries over from services and data that need their own plan:

![Decision flow: app configuration is imported, Heroku Connect is replaced with the database move, everything else gets a plan](https://www.stacksync.com/images/blog-diagrams-mermaid/bio-checklist-order.webp)

| Bucket | Typical items | What we do |
| --- | --- | --- |
| Carries over | Heroku buildpacks, Procfile process types, config vars, pipelines | Use Build's Heroku integration to import configuration, then validate |
| Needs a service or data plan | Postgres, Redis, scheduled jobs, logging, domains and SSL | Check Build equivalents, data requirements and any external connections |
| Needs a replacement when the database moves | Heroku Connect | Keep it on Heroku during app validation; coordinate the later handover to Stacksync |

### Why our Stacksync partnership matters

Heroku Connect needs its own plan because it only syncs Salesforce with Heroku Postgres. Moving the app to Build can happen first, but moving the database means replacing that connection. For applications that [read and write Salesforce data through Postgres](https://www.stacksync.com/blog/how-to-sync-data-between-applications-with-reliable-two-way-sync), this is a production dependency, not just another add-on to swap.

That's why Build partners with Stacksync. Build provides the application platform and can manage the migration end to end; Stacksync replaces Heroku Connect with [two-way Salesforce sync](https://www.stacksync.com/blog/bi-directional-sync-explained-3-real-world-examples) to the new database. Together, we coordinate the database move and sync handover in one plan, with named owners, validation steps and an agreed rollback path.

The partnership gives teams a way to leave Heroku without building and maintaining their own Salesforce integration. Your engineers can focus on checking that the application behaves correctly, while Build and Stacksync coordinate the platform and sync work. See Stacksync's [Heroku Connect alternative page](https://www.stacksync.com/heroku-connect-alternative) for more on the replacement.

### What makes migrating to Build different?

You do not need to recreate the [application environment](https://www.stacksync.com/blog/top-10-cloud-deployment-platforms-beyond-heroku) by hand. Build imports Heroku application configuration, environment variables, add-on configuration and pipelines. Most conventional Heroku apps run without code changes.

Build also provides [managed Postgres](https://www.stacksync.com/blog/enterprise-ipaas-heroku-postgres) and Redis, deployment pipelines, review apps, logs and metrics. Check the services your app needs before moving data. Your team can run the migration with engineering support, work alongside Build engineers, or have us manage it end to end. Engineer-led migration support is included with Enterprise plans.

## What's the order of operations?

Use the [Build Heroku migration guide](https://docs.build.io/migrate/heroku/) for the platform steps. The application, database and Salesforce sync can move in stages.

- 01 **Agree the inventory and owners.** Include data, third-party services, production workers and the rollback plan.
- 02 **Connect your Heroku account.** Authorize the integration in Build Settings once per Build account.
- 03 **Create and sync the Build app.** Set its team, pipeline and stage. In Configure Sync, select the Heroku source and Build destination. On a first sync, select everything except Releases and Images, then trigger the sync.
- 04 **Start the web process and validate.** Synced apps start with dynos at zero. Check configuration and application behavior. The imported `DATABASE_URL` still points to Heroku Postgres; the sync copies configuration, not data.
- 05 **Repeat for other environments.** Start with staging. Keep workers stopped until you intend them to consume real jobs, since imported connections can still point to production services. Heroku changes continue syncing to Build while you validate.
- 06 **Choose when to move traffic.** After validation, switch DNS to Build when ready. You can keep using Heroku Postgres initially or coordinate this with the data move.
- 07 **Plan and prepare services and data.** Choose Build equivalents or retain suitable external services. For Postgres, provision Schema To Go with `import_url` where appropriate; use a [replication-based plan](https://www.stacksync.com/blog/eliminate-postgres-sequence-skew-real-time-consistency-guide) for larger production databases. Test data integrity and the cutover procedure.
- 08 **Prepare the Salesforce sync replacement, if needed.** Agree mappings, schema compatibility and safe parallel validation with Stacksync before moving away from Heroku Postgres. Keep one connector responsible for production writes to Salesforce.
- 09 **Switch the database and dependent services when ready.** Attach the new database as `DATABASE`, stop config-var sync to prevent the old `DATABASE_URL` overwriting it, and redeploy. Coordinate any write pause, final data catch-up and Salesforce sync handover.
- 10 **Verify production and retain rollback.** Check traffic, data, jobs and Salesforce writes. Agree how new writes would be handled if you roll back; changing DNS alone does not reverse a data migration.
- 11 **Decommission after the agreed observation period.** Take final backups and remove Heroku resources only when no application or service still needs them.

## What does the Salesforce sync section of the checklist look like?

For apps that use Heroku Connect, we add these checks to the plan:

- Export the Heroku Connect mapping list: every object, every field, and the direction
- Identify which tables the app writes to, since those need two-way sync
- Search code for Heroku Connect columns, status fields and the [trigger log](https://www.stacksync.com/blog/heroku-connect-post-mortem-an-analysis-of-salesforce-postgres-sync-challenges-and-future-viability)
- Confirm Salesforce user and permissions for the new sync, set up on the [Stacksync Salesforce connector](https://www.stacksync.com/connectors/salesforce)
- Agree on how long both syncs run side by side
- Agree on the moment Heroku Connect is turned off, and who does it

On a joint migration, Stacksync handles the sync configuration and Build can manage the database move and cutover around it. Agree owners with both teams before starting.

## What goes on the cutover-day checklist?

![Five cutover day checks: scope, data, traffic, Salesforce and rollback](https://www.stacksync.com/images/blog-diagrams/bio-checklist-cutover.webp)

- Confirm whether this switch covers traffic, data, or both
- Any required maintenance or write pause communicated
- For a data move: final catch-up completed and verified, config-var sync stopped, new database attached and app redeployed
- App validated on Build against the intended database
- DNS switched and SSL verified
- If Salesforce sync is in scope: a test record created in the app shows up in Salesforce, and the reverse
- Background jobs run in the intended environment without [duplicate consumers](https://www.stacksync.com/blog/eliminating-duplicate-records-when-you-sync-crm-systems-best-practices-for-clean-data) or scheduled runs
- Rollback steps written down and still possible

## What happens after cutover?

Retire resources by workstream, after the agreed observation and rollback period. If only the app runtime has moved, keep Heroku Postgres, Heroku Connect and any services it still uses. Once data and sync have moved too, take final backups, remove unused Heroku Connect and database resources, cancel remaining unused add-ons, and close the old apps.

Planning a move off Heroku? [Talk to Build about your migration](https://build.io/migrate). Run it yourself with engineering support, work alongside our team, or have us manage the migration end to end. If you're moving a database that uses Heroku Connect, we'll bring Stacksync into the plan for Salesforce sync.

FAQ

## Frequently asked questions

What is the hardest part of a Heroku migration?

Data and service dependencies usually need the most planning. If you use Heroku Connect, its replacement needs coordinating with the database move. You can validate or run the app on Build first while retaining Heroku Postgres and Heroku Connect.

How long should both syncs run side by side?

Long enough to compare record counts and sample records across the objects you care about, including some records changed on each side. The right length depends on how much data and change you have.

Do I need to replace every add-on before cutover?

No. The app can run on Build against existing services, including Heroku Postgres, while you move them separately. Before changing each service connection, validate its replacement and data. Replace Heroku Connect when you move away from Heroku Postgres.

Can I migrate staging first?

Yes. Sync staging to Build first and validate configuration and behavior. Rehearse the data move, Salesforce sync handover and rollback separately before changing production data.

About the author

Build.io team

Build.io

The team behind Build.io, a managed application platform for teams moving off Heroku. Build partners with Stacksync on migrations where the app depends on Salesforce data.

[All posts by Build.io team](https://www.stacksync.com/blog/author/build-io-team)

About Stacksync

Stacksync powers real-time, two-way sync between CRMs, ERPs, and databases. Engineers sync data at scale and automate workflows, not dirty API plumbing.

Stacksync

## Explore these integrations and topics

- [connector Salesforce integrations](https://www.stacksync.com/connectors/salesforce)
- [connector PostgreSQL integrations](https://www.stacksync.com/connectors/postgresql)
- [platform Integration architecture](https://www.stacksync.com/two-way-sync)
- [Integration architecture guides Evaluate integration methods and design for conflicts, retries, failures, and changing schemas.](https://www.stacksync.com/blog#topic-integration-architecture)

Keep reading

## Related articles

[All articles](https://www.stacksync.com/blog)

[App tips Planning a Heroku Exit: A Guide for CTOs 8 min read read](https://www.stacksync.com/blog/heroku-exit-plan-cto-guide)

[App tips Heroku Postgres + Salesforce: migrating the database without losing sync 6 min read read](https://www.stacksync.com/blog/heroku-postgres-salesforce-migration)

[App tips Leaving Heroku? Here's how to handle Heroku Connect 7 min read read](https://www.stacksync.com/blog/leaving-heroku-heroku-connect)

## You just read how it should work. See it run on your own data.

[Book a demo](https://www.stacksync.com/book-a-demo) [Get started](https://app.stacksync.com/)
