DevOps has become the default solution to fixing slow, siloed, or dysfunctional Salesforce development processes. But that doesn’t mean much when you’re new to the Salesforce DevOps center and unsure where to begin. This article explores the Salesforce DevOps center and offers an easy to follow steps to enable and set up one. While this tutorial is not comprehensive, it should give you a foundation to start on and expand on later.
What is DevOps?
DevOps is a set of practices that combines software development and operations. It reduces the time between when a change is committed and when it is in production. The exercises facilitate collaboration between developers and operations engineers and enable continuous software delivery with less complex challenges to solve and faster resolution of problems. DevOps has taken over agile development and is now used in most projects.
Different types of DevOps apps for Salesforce
At this time there are many DevOps tools available in the market for Salesforce, here I list a few of them:
What is Salesforce DevOps Center?
Salesforce DevOps Center is a DevOps release management tool from Salesforce. It will replace change sets in the coming future. In DevOps Center, you can create projects and create user stories associated with work items to track your changes within that project.
DevOps Center is a new way to manage and release Salesforce changes — without Change Sets. It will organize your work, track changes, integrate with GitHub for source control, and finally deploy changes with clicks.
The key features of DevOps Center are:
- Organize your work
- Track changes
- Integrate with GitHub for source control
- Deploy changes with clicks
Steps to Enable and Install Salesforce DevOps Center
To enable DevOps Center in a Salesforce org:
- From Setup, enter DevOps Center in the Quick Find box and select DevOps Center.
- Click the toggle to enable DevOps Center.
- Click Install Package ( follow the guided path of the installation process to install the version of the DevOps).
- Select Install for Admins Only (or all users), and then click Install.
- Approve third-party access to login.salesforce.com and test.salesforce.com.
- Click done.
Create the Connected App
The connected app gives access to DevOps Center, the app appears in the App Launcher after DevOps Center permission sets are assigned to the users.
- From Setup, enter App Manager in the Quick Find box and select App Manager.
- Click New Connected App.
- In Basic Information:
- Connected App Name: DevOps Center
- API Name: DevOps_Center
- Contact Email: email@example.com
- Logo Image URL: https://tinyurl.com/doc-icon
- Description: Manage your development and release processes
- In Web App Settings, enter the Start URL: /sf_devops/DevOpsCenter.app
- Click Save.
- In Manage Connected Apps, click Manage.
- In the Permissions Sets section, click Manage Permission Sets.
- Select sf_devops_NamedCredentials.
- Click Save.
Now we prompt the Approved Work Item to the UAT stage.
You can see the Promotion is failed.
The best thing is Salesforce will let you know the reason for the promotion failure.
Click on View details, under Promotion Failed, and click on Error Details.
- Keep in mind, that once you enable the Salesforce DevOps Center you will not be able to disable it.
You are done!!!
I would love to hear about your experience working with Salesforce DevOps Center. How do you use it?
Leave a Reply