Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Application Lifecycle Management (ALM) entry
How-to guide

How to stand up Salesforce ALM for a real team

Mature ALM is the difference between confident weekly releases and the risky, error-prone deploys most teams used to ship. The investment is one quarter; the payoff is forever.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 19, 2026

Mature ALM is the difference between confident weekly releases and the risky, error-prone deploys most teams used to ship. The investment is one quarter; the payoff is forever.

  1. Move metadata into Git

    Retrieve the org's metadata using Salesforce CLI. Commit to a private repository. From this point on, Git is the source of truth, not the org.

  2. Adopt Source Format

    Convert metadata from mdapi to source format using sf project convert source. Source format makes meaningful Git diffs possible.

  3. Stand up the environment chain

    Create dev, integration, UAT, staging, and production sandboxes (or scratch orgs for dev). Define which environment promotes to which and who can approve each promotion.

  4. Build a CI pipeline

    Configure GitHub Actions (or equivalent) to run on every PR: validate the metadata, run Apex tests, return a status check. Block merges on failed checks.

  5. Define release management process

    Document who approves production deploys, what evidence (test results, security scan, change ticket) is required, and the rollback procedure. Treat releases as routine rather than as events.

Gotchas
  • Switching from org-based to Git-based ALM mid-project is hard. The transition is easier at the start of a major release or a green-field project.
  • Low-code work (Flows, Page Layouts, Reports) lives in the same metadata as Apex. Both kinds of change need the same source control discipline.
  • Production deploys still need 75 percent code coverage. CI pipelines that pass with low coverage fail at the production gate.
  • Third-party ALM tools add cost and complexity. Start with native DX plus a basic CI pipeline; layer tools only when the team's needs justify them.

See the full Application Lifecycle Management (ALM) entry

Application Lifecycle Management (ALM) includes the definition, worked example, deep dive, related terms, and a quiz.