Loading...

Salesforce DevOps tools offer a range of features to support your development process, including deployment assistance, data and metadata backup, test automation, and code scanning for security issues and bugs.

The DevOps Center simplifies the process of bundling and migrating changes through stages with a user-friendly interface, eliminating the need for coding.

The DevOps Center replaces Salesforce Change Sets and introduces features like:

  • Work Items for tracking changes
  • Automated Change Tracking for transparent monitoring
  • Pipelines for defining development environments
  • Source Control integration with GitHub for visibility into changes

Effortless Process of DevOps Center Set Up and Deployment Across Various Salesforce Editions

The DevOps Center, a managed package, is installable at zero extra expense in a Professional (API access necessary), Enterprise, or Unlimited Edition org.

It is equally compatible with installation in a Developer Edition org, Trailhead Playground, or Scratch Org for assessment purposes. To reach the Salesforce DevOps Center, navigate to the Setup menu in Salesforce and input “DevOps Center” into the setup search bar.

Installation and configuration of DevOps in salesforce:

  1. From Setup, type DevOps Center in the Quick Find box, then select DevOps Center.

select DevOps Center

2. Enable DevOps Center, and then review and accept the licensee agreement, which allows you to install the package.

3. Click Install Package.

4. Choose Install for Admins Only, and then hit Install.

5. Approve third-party access.

6. To confirm DevOps Center Package Installation, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.

Create Connected App for DevOps:

  1. From Setup, enter App Manager in the Quick Find box, then select App Manager.
  2. Click New Connected App.

New Connected App

3. Connected App Name: DevOps Center.

4. API Name: DevOps_Center

5. Contact Email: support@salesforce.com

6. Logo Image URL: ***https://tinyurl.com/***

7. Description: Manage your development and release processes

8. In Web App Settings, enter the Start URL: /sf_devops/DevOpsCenter.app

9. Click on Save.

10. In Setup Quick find box enter Manage Connected Apps.

11. Click on DevOps Center and scroll down.

12. In the Permissions Sets section, click Manage Permission Sets.

Manage Permission Sets

13. Select sf_devops_NamedCredentials, then click Save.

Assign the DevOps Center Permission Sets:

  1. From Setup search for user and click on it.
  2. Click on that user where you want to assign/give permissions for DevOps.
  3. Click on Permission set assignment on top left of the page.

Permission set assignment

4. In the Permission Set Assignments Section click on Edit Assignment.

5. Add These 5 permissions from the Available permissions set section to the Enabled permission set section:

  • DevOps Center
  • DevOps Center Manager
  • DevOps Center Release Manager
  • sf_devops_InitializeEnvironments
  • sf_devops_NamedCredentials

6. Click on save.

Five permission

(Note :Repeat the same(2-6 steps) process for those users where you want to give permission for DevOps)

Manage DevOps Center Projects:

Create DevOps Project:

  1. From App Launcher, find and select DevOps Center.
  2. DevOps Center opens to the All Projects page. For the first time, the list will be empty.

select DevOps Center

3. Click New Project.

4. For the first time creation of the project, We will get prompted to log in to GitHub. Log into an existing account if already have, otherwise create a new.

5. After Connecting GitHub again Click on New Project.

6. Enter a unique name for your project.

7. Create a repository or use an existing one.

8. If you choose to create a new repository, the repository Name will be filled automatically.

9. Enter a description to identify the purpose of the project. (Optional)

10. Click Save.

New Project

11. Now you can see your created project and you will be able to find a click to connect.

12. Click on click to connect to add Release Environment.

click to connect

13. Give the Name to the Environment Name and select the kind(Type) of the environment.

14. Click on Log In and it will open the salesforce login window.

15. Enter your Credential and it will authorize your Creds.

add release environment

Add Development Environment

  1. Click on project just created.
  2. After clicking the project you will get a new window.
  3. Now you will get the Add Development Environment Button.
  4. Click on the Development Environment Button and give the unique name to the Development Environment.
  5. Click on Login Button. And add the Credentials of the org where you are going to work.

Development Environment Button

(Note: You can add only sandboxes or Scratch Orgs for Development Environment)

Add or Remove Stages:

  1. You will find your added Development environment.
  2. You can add more stages between Production and Development as per your requirement.
  3. You can add/remove stages by clicking on the Dropdown button(right side of every stage name ).
  4. Now you will get many options, you can choose as per your requirement. You have to connect an Environment for every stage.

Add or Remove Stages

5. For Example: Here I have added one Development Environment, an UAT Environment ,and a Production Environment. Dev Environment>UAT Environment>Production Environment.

6. You can add more stages between Development Environment and Production Environment just clicking by Drop down button(right side of every stage name ).

7. Give an Unique Name to Branch and click on the Activate button.

All Environment

Create Work Item:

  1. Click on the work item at the left side of your screen.
  2. Now click on the New Work Item button top right corner.

3. Enter Subject, Description and assign it to the Developer.

4. Click on save.

Create new work item

5. Click on your work item. On New stage, you need to specify where you are going to work.

6. Choose I want to develop and commit my changes to the work item feature branch from DevOps Center using a connected development environment.

7. From drop down select your development environment. And Click on Proceed.

create field on account

8. When you click on Proceed if you get This environment is out of sync, then click on Go to Environment Tab Button.

9. After that you get Sync button under your development Environment. Click on Sync button. Then click on Start Sync.

Environment Tab Button

10. After successful syncing. Repeat 5 -7 steps.

Create a custom field on Account:

  1. Log into Development Environment org(where you are going to do development related work).
  2. Click on setup, then click on object manager.
  3. From Quick find box search for Account and click on it
  4. Click on Fields and Relationship then click on New.

Fields and Relationship

5. For Data type choose Text. For field label fill Test Account.

6. For Length fill 255. Click on Next.

7. Set the visibility for all. Click on Next.

8. Check the Account Layout and click on Save.

Test field3

Retrieve Custom field and meta data from Development Environment:

  1. To add metadata changes to Work Item, there are 2 options:
  • Pull Changes button – it will pull all the modified changes from the development environment.
  • Add Components Manually – you can select components manually to add to Work Item.

2. Click on Pull changes button.

3. Select the Test Account Field.

4. Write comment in comment field and click on Commit changes.

Create Review:

  1. After the metadata component is committed, Click on Create Review button in the top right corner.
  2. After clicking on Create Review, the Work Item moves into the In Review stage. In the back-end, a pull request is created.

Create Review

Pipeline Promotion:

  1. After creating a pull request, it can be marked as Ready to Promote. This will make the Work Item available to promote to the next environment in the pipeline.
  2. Enable the Ready to promote.

Promote the Work Item:

  1. The last step is to Promote the Work Item. Multiple Work Items can be bundled in a single promotion and moved to the next environment.
  2. Click on the pipeline left side on screen.
  3. Check the checkbox under the Approved Work Items and click on Promote Selected.

Promote the Work Item

4. For Changes to Promote select Changes not in the UAT stage.

5. For Test option select Default then click on Promote.

6. It will be deployed in the next environment.

7. Login into that environment where you deployed the changes.

8. That field will be reflected in Account object.

9. To deploy in next environment follow the same steps(3-6) if you have more stages between Production and Development Environment .

10. To Promote In Production Environment you will get Promote as Work item Bundle button click on it.

Promote as Work item Bundle

11. For Version enter any Unique name.

12. Choose to Promote Now for the Promotion Option.

13. For Changes to Promote choose Changes not in the Production stage.

14. For Test Options choose Default. Then Click on Promote.

version

15. Congratulations you have deployed the Custom field from Dev Environment>UAT Environment>Production Environment.

16. Login into your Production org and you will see the Test Account field on the Account object.


Conclusion:

With DevOps Center, teams can deliver solutions faster, improve quality, and increase customer satisfaction. DevOps Center is available as a managed package that can be installed in various Salesforce editions at no additional cost.

Related Articles

Sticky notes aren’t just for your desk anymore! In this tutorial, we’ll create a Lightning Web Component (LWC) in Salesforce that allows you to pin notes on your app page or record page. With a clean, interactive UI, these digital sticky notes ensure you never forget important tasks or details. What Will You Learn? By […]

Read More
How to Create Dynamic, Animated Charts in Salesforce LWC using Chart.js

Bring Salesforce data to life with dynamic charts inside Lightning pages! While Salesforce dashboards are powerful, sometimes business users want visual insights without leaving their current page. That’s where Chart.js with Lightning Web Components (LWC) becomes a game-changer. In this step-by-step guide, you’ll learn how to: Upload Chart.js as a static resource in Salesforce. Build […]

Read More
How to Encrypt and Decrypt Data in Salesforce Using Apex Crypto Class

Data security is more important than ever. Whether you’re storing customer information, sensitive business data, or private communication, ensuring that your data stays safe is critical. Salesforce provides built-in tools to help with this, and one of the most powerful yet easy-to-use approaches is encryption and decryption using the Apex Crypto class. In this blog, […]

Read More
Benefits & Step-by-Step Setup Guide for Salesforce Code Analyzer

When building on the Salesforce platform, code quality and security are non-negotiable, especially before submitting your app for a Salesforce Security Review. Catching bugs and vulnerabilities early not only saves time but also ensures compliance with Salesforce’s best practices. That’s where the Salesforce Code Analyzer comes in. This open-source tool scans your Apex classes, triggers, […]

Read More
A Step-by-Step Guide to Integrate Zoho CRM with Salesforce (Without Coding)

Managing data across multiple CRMs can be a real challenge for businesses that want a single source of truth. If your teams use Zoho CRM but want to move or sync all records seamlessly into Salesforce, you don’t need to write a single line of code. Thanks to MultiSync Made Easy, the integration process is […]

Read More
How to Integrate Salesforce with Copilot

Integrating Salesforce with Copilot is becoming an essential step for organizations aiming to streamline workflows, automate client data management, and unlock the power of AI-driven CRM. By connecting these two platforms, businesses can centralize customer information, reduce manual tasks, and accelerate growth. This guide walks you through the Salesforce–Copilot integration process with clear steps, Apex […]

Read More