Salesforce DevOps is the practice of building, testing, and releasing Salesforce changes through version control and automated pipelines. It replaces pushing change sets around by hand, and governance keeps an eye on all of it.
It's a broad umbrella. Source control, continuous integration, sandboxes, automated testing, deployment, rollback, and backup all sit under it. The upside is that admins, developers, and release managers work from one process instead of each doing it their own way.
We've laid this guide out along the DevOps lifecycle, one stage at a time. We'll get to change sets and plain Git, and why both struggle on the Salesforce platform. Sandboxes, version control, backup, and governance each get a section too.
Most sections end with a link to a longer post, if you want to dig in. Already comparing Salesforce DevOps tools? Our Salesforce DevOps tools overview and the Flosum DevOps product page are the quicker route.
What is Salesforce DevOps, and how is it different from generic DevOps?
Most software development deals with code in files, and Git plus a continuous integration server gets you a long way. Salesforce doesn't work like that, for two reasons.
Reason one: much of what changes isn't code at all. Admins click together flows, page layouts, and permission sets, and all of it lives in a Salesforce org as metadata and configuration, right beside the Apex and Lightning components the developers wrote.
You can't ship one without the other, so Salesforce DevOps has to bridge low-code configuration and programmatic code. Plenty of that work never gets typed out at all. It's pulled out of the org through the Metadata API.
Reason two is drift. Say an admin fixes a validation rule straight in production on a Friday. On Monday, a developer deploys from Git and quietly overwrites it.
Closing that gap between org and repository is most of what Salesforce DevOps is for. The table below lays generic DevOps and Salesforce DevOps side by side.
| Dimension | Generic software DevOps | Salesforce DevOps |
|---|---|---|
| Unit of change | Source files in a repo | Metadata + config + Apex, often retrieved via Metadata API |
| Who ships changes | Developers | Admins and developers together |
| Source of truth | The Git repository | Contested: the org drifts from the repo |
| Main failure mode | Merge conflicts, broken builds | Overwrites, drift, failed deploys, lost customizations |
| Deployment target | Servers / containers | Sandboxes and production orgs |
Want the longer version of the Git question? See version control for Salesforce and Salesforce DX and its limits.
What are the stages of the Salesforce DevOps lifecycle?
An admin's tweak and a developer's new Apex class go through roughly the same stages on the way to production. Ideally they take the same path, leave a trail of who changed what, and can be backed out on the day something breaks. Each row below is one stage, with the place it usually breaks and a post to read next.
| Stage | What happens | Where it usually breaks | Go deeper |
|---|---|---|---|
| 1. Plan | Scope the change, pick the right sandbox | Work starts directly in production | Sandbox types |
| 2. Develop | Admins configure, developers code in a sandbox | Sandbox lacks realistic data | Sandbox seeding |
| 3. Version control | Capture metadata into a repo or pipeline | Changes never committed; drift begins | Salesforce version control |
| 4. Build / integrate | Merge parallel work, resolve conflicts | Merge conflicts overwrite each other's work | Resolve Git merge conflicts |
| 5. Test | Run Apex tests and quality gates | Deploy proceeds under the coverage bar | See release management below |
| 6. Release / deploy | Promote from sandbox to production | Manual change sets, failed validations | Flosum DevOps |
| 7. Operate / measure | Track deployment frequency and failure rate | No metrics, no feedback loop | DORA metrics for Salesforce |
| 8. Protect / recover | Back up data and metadata, roll back cleanly | No safety net when a release goes wrong | Flosum Backup & Archive |
Want proof it's working? DORA's software delivery metrics include deployment frequency, change lead time, change fail rate, and failed deployment recovery time. Good news looks like more frequent deployments and smaller numbers for the other three.
Why are change sets not enough?
Change sets are Salesforce's built-in way to send customizations from one org to another. For small, occasional moves, they do the job.
Past that, the limits add up. Change sets only travel between orgs affiliated with the same production org, and any component a change set can't carry has to be rebuilt by hand in the target org.
Each change set is also assembled by hand in Setup. That manual step is exactly what a version-controlled pipeline replaces.
Our post on the limitations of change sets goes deeper. For Salesforce's own step up from change sets, Lifecycle Center (formerly DevOps Center), see our Lifecycle Center guide.
What is Salesforce Lifecycle Center (formerly DevOps Center), and where does it stop?
Lifecycle Center is Salesforce's own release-management tool. According to Salesforce Help, you open it from the App Launcher, with no package to install.
It treats source control as the single source of truth. It also ships an in-org DX Inspector, so you can commit metadata and create work items without leaving the org.
Here's where it stands now:
- New installs of the legacy managed package stopped in April 2026. The package isn't retired, though: Salesforce Help says existing installs keep working, and the Active Product & Feature Retirements list shows no end-of-support date.
- Per Salesforce Help, it runs on Lightning Experience in Professional (API access required), Enterprise, Performance, Unlimited, and Developer editions. It isn't available in Government Cloud Plus or the EU Operating Zone.
- Its governance layer is still in Beta, per Salesforce Help. It covers actions by the Agentforce Vibes coding agent, not human approvals.
Lifecycle Center is a real improvement, but it has gaps. It supports GitHub and Bitbucket as source control, but there's no native rollback, and backup isn't among its documented capabilities.
Our Lifecycle Center guide covers cost and setup in more detail. If any of those gaps is a dealbreaker, Lifecycle Center alternatives compares the options.
How does version control work for Salesforce, with or without Git?
Version control is basically a diary for your org. Each change gets a traceable entry saying who made it, when, and what it replaced. You lean on that when you compare versions, roll back, or field an auditor's questions.
On Salesforce there are two ways in. You can go Git-first, committing metadata to a repository and deploying from it, or use a pipeline that captures metadata for you so nobody has to learn Git commands.
Git-first teams also get scratch orgs from Salesforce DX, which Salesforce calls a source-driven and disposable deployment of code and metadata. Even so, Git on its own won't solve Salesforce source control.
Drift is one reason: the org keeps wandering away from the repo. The other is that Salesforce metadata doesn't diff and merge as cleanly as plain source files, so two people can overwrite each other's work and nobody notices until later.
Metadata-aware merge fixes the second problem by resolving conflicts at the component level instead of line by line. There's more in Salesforce version control and resolving Git merge conflicts.
Flosum's version control works this way, and it's Git-optional. Your whole development team, from admins who never open a command line to developers who live in Git, can use the same pipeline, and Flosum DevOps shows how.
What is release management in Salesforce, and what are the best practices?
Release management is about getting changes into production without nasty surprises. For a Salesforce team, that means a fixed route through sandboxes, automated testing with quality gates, a promotion step, and a plan for rolling back.
Done right, releases turn routine, even a bit dull, and that's the goal. Some DevOps best practices worth starting with:
- Automate promotion with a CI/CD pipeline, so nobody is clicking through each deploy by hand. Our post on release management automation covers the setup.
- Enforce quality gates. Salesforce already requires at least 75% Apex code coverage, with passing tests, before Apex can deploy, and it points out that coverage alone doesn't guarantee good tests. Aim yours at business logic and integrations, not just the number.
- Have a rollback path ready before you need it. Pulling one bad change beats unwinding a whole release by hand at 7 p.m.
- Check your numbers now and then. DORA's software delivery metrics include deployment frequency, change lead time, change fail rate, and failed deployment recovery time.
Flosum covers this for release managers with automated pipelines, quality gates, and one-click rollback. Comparing vendors? The Flosum vs Gearset comparison and our DevOps tools comparison go into detail.
How should you use sandboxes in a Salesforce DevOps process?
A sandbox is a copy of your org where you build and test before anything can reach production. There are four sandbox types in Salesforce: Developer, Developer Pro, Partial Copy, and Full.
What separates them is mostly data and storage, plus how often you're allowed to refresh. The skill is in matching one to the job and getting realistic data into it, without paying for a Full copy you don't need.
- Pick the right type for the work with our guide to Salesforce sandbox types.
- Get production-like data into lower sandboxes with sandbox seeding. Flosum Data Migrator handles the org-to-org data movement.
- Provision and refresh sandboxes with Flosum Sandbox Management.
How do you back up and protect Salesforce during DevOps?
Fast releases mean fast mistakes, too. Backup and recovery is your safety net here: copies of data and metadata you can actually restore, and a rollback path for the deployment that goes sideways.
It's tempting to assume Salesforce has this covered. Its own backup guidance calls data integrity and protection a shared responsibility, though.
Backing up records alone leaves a DevOps team exposed. A bad release can break configuration, so you want the metadata back too, ideally only the fields that broke. Flosum Backup & Archive handles that with automated backups, archiving, and field-level recovery.
How do you govern and secure the release pipeline?
Governance answers two questions: who's allowed to promote to production, and what approvals a change needs. It also leaves a record of every change that you can hand to an auditor.
If you work under FDA rules, that record isn't optional. Under 21 CFR Part 11, any action that creates, modifies, or deletes an electronic record needs a secure, computer-generated, time-stamped audit trail.
So build those controls into the pipeline. A spreadsheet someone fills in after the fact won't cut it. Where to look next:
- Approvals and change control live in Risk & Governance and Flosum Trust Center.
- Zero Trust Security covers least-privilege access and data protection.
- Teams under SOX, HIPAA or GxP face their own audit requirements. For SOX, start with SOX Compliance for Salesforce, or see DevOps for Veeva if you run Veeva Vault.
Because Flosum keeps release management, backup, and governance on one platform, the compliance controls travel with every release. Nobody has to add them in later.
How do you deploy Agentforce agents between environments?
Agentforce agents are now part of what Salesforce teams move between orgs. Salesforce's documented path is Agentforce DX: you retrieve an agent's metadata from the source org with the Salesforce CLI, then deploy it to the target org.
Two things catch teams out:
- API version mismatch: Salesforce updated agent metadata in API v68, and you can only use the new types when both orgs are on v68. If your sandbox is on Winter '27 but production is still on Summer '26, you're on the older (v67 and earlier) types.
- Steps the deploy doesn't finish for you: the agent user still has to be assigned in the target org. A committed agent can't be edited either, so a change means a new agent version.
Because it's all metadata, the pipeline you already use can carry agents too, as long as it handles the API-version split and the post-deploy steps. For how Flosum approaches release governance for agents, see Flosum's agentic DevOps approach.
How do the Salesforce DevOps approaches compare?
The options run from change sets at one end to a full platform at the other. Thinking about building your own pipeline instead of buying one? Read our build vs buy guide first.
Where you land comes down to team size, how often you ship, and how much governance and recovery you have to prove to someone. Here's how the four main approaches stack up.
| Approach | Version history | Automation / CI | Rollback | Governance & audit | Best fit |
|---|---|---|---|---|---|
| Change sets | None | None: built by hand in Setup | None | None | Small, occasional moves between orgs affiliated with the same production org |
| Lifecycle Center | Git-based | Basic | Not built in | Beta | Teams graduating off change sets |
| Git-first CI/CD | Full (Git) | Strong | Manual / scripted | You build it | Developer-heavy teams comfortable in Git |
| Dedicated DevOps platform | Full | Strong | Built in | Built in | Larger or regulated teams needing backup + governance in one |
It compares approaches, not vendors. For named comparisons, see Lifecycle Center vs the major platforms and Flosum vs Gearset.
Where Flosum fits
Flosum is a DevOps platform made for Salesforce, and release management, backup and archive, and governance all run on it. You get metadata-aware merge, Git-optional version control, automated pipelines with quality gates, one-click rollback, and field-level recovery for data and metadata.
It also runs where you want it: Salesforce-native, Flosum-hosted cloud, or customer-hosted. Your security and compliance people get the final say on where release data and backups live.
Good places to start are Flosum DevOps for the pipeline, Backup & Archive for recovery, and Trust Center for governance.
FAQs
Is Salesforce DevOps the same as Lifecycle Center (formerly DevOps Center)?
No, Salesforce DevOps is the overall practice: version control, testing, release management, backup, and governance. Lifecycle Center is one tool for part of it: Salesforce's own release-management app, which you open from the App Launcher with no package to install, according to Salesforce Help. See our Lifecycle Center guide.
Do I need Git to do Salesforce DevOps?
Git is one way to do version control, not the only one. Some platforms capture metadata into a pipeline without requiring admins to use Git commands, which is why Git-optional version control matters on a platform where admins and developers ship together. See Salesforce version control.
Why aren't change sets enough for a real release process?
Change sets only move between orgs affiliated with the same production org, and some components can't go in one at all. Each one is also assembled by hand in Setup, which is the step a version-controlled pipeline replaces. See the limitations of change sets.
Can a Salesforce DevOps pipeline deploy Agentforce agents?
Yes, Salesforce's documented path is to retrieve and deploy agent metadata with the Salesforce CLI (Agentforce DX). Watch the API-version split: the updated agent metadata types in API v68 need both orgs on v68, and the agent user must be assigned in the target org after deploying. See Flosum's agentic DevOps approach.
Book a demo to see Flosum run a release on your own metadata.
Thank you for subscribing




