Salesforce DevOps Center

DevOps Center is a modern change management and releases management tool which is natively in Salesforce.

It provides an end-to-end Experience allowing developers and admins to work together to build and deploy salesforce applications.

It is a point-and-click interface that allows you to manage environments, easily track changes, integrate with source control systems, and perform deployments.

Installation and Setup

Go to setup, in quick find search Dev Hub and verify source tracking in developer and developer pro sandboxes is Enabled.

Enable source tracking

In quick find, Search DevOps center and make sure that DevOps center is enabled.

After enabling, Accept License agreement popup will be shown, and click Accept.

Install the DevOps center package, and select Install for admins only.

Approve Third-Party Access popup will be shown, verify the checkbox is selected, and click continue.

Install DevOps Center

Creating Connected App

In Setup, Quick Find Search App Manager, And click New Connected App.

Connected app configuration

Assigning Permission Set to the Connected App

  • In Connected App, Click Manage, In Permission Set Select Manage permission set.
  • Select Sf_devops_Named_Credentials and Save
Assign permission set

Permission Set Along with DevOps Center

Permission SetDescriptionAssign To
DevOps CenterBase Permission SetAll DevOps Center Users
DevOps Center ManagerAccess and permission needed to set up projects, environments, and usersTeam Manager/ Project managers
DevOps Center Release ManagerPerform promotions through the pipelineRelease Manager
Sf_devops_Initialize EnvironmentsManage Connections to the work environmentTeam Managers/ Project Managers
Sf_devops_Named_CredentialsGrand access to the named credentials needed to authenticate to environmentsAll DevOps Center Users
DevOps center what permissions to whom?
Assigning permission set to the user.
  • In the App launcher, Search DevOps Center and Select DevOps Center.
  • Select New Project. Popup will be shown Click Connect to GitHub and give your Credentials.
  • Authorize GitHub for source tracking
  • Provide a Project name And Repository name

Add Release Environment

Click Add Release Environment and provide Environment Name and Select what kind of environment.

Select production org and Login. And its Shows the Production environment login Credential – click Login.

Connect environments

Click Allow, and it connected to your production org.

Add release environment

Add Development environment to the projects

Select All Environments
Setup environments
Environment con
fig
  • Enter the Environment Name.
  • Select the Type of the org. (Production/Scratch/Sandbox).
  • Check the checkbox used for development.
  • Click log in
Environments configured

Setup Pipeline

Release Strategy – Pipeline setup

The DevOps center App has been successfully Configured

Work Items to test pipeline

The work item is a ticket that is used in the DevOps center to track the work process to achieve a specific Goal.

Create work item

Click the New Work Item Button

Create Work item provided the details

And assign a Work Item to a particular user and click on save.

Click Pull Changes to get the modified metadata

Click Create Review, it will create a Pull Request

Create Review

And now a pull request has been created. You can see the pull request in the branch (GitHub).

Select Ready to Promote which will merge the pull requests to the respective branch.

Ready to promote

Now click Pipeline, and you can see your work item it is ready to move to a higher environment.

Click Complete Promotion

You can see the Deployment in the sandbox

You will receive a popup message that the promotion is successful!

Leave A Comment

All fields marked with an asterisk (*) are required