Install Salesforce DevOps Center
You need to install Salesforce DevOps Center before you can use it. It’s delivered as a managed package that you can install in a sandbox or production org using the provided installation URL. In this blog, we discuss how to install Salesforce DevOps Center step-by-step.
How to Install the DevOps Center Package
To install DevOps Center in your Salesforce org, you need a production org with Professional, Enterprise, or Unlimited edition, or a new Developer edition org (or created after summer 2022):
- Go to Setup and enter DevOps Center in the Quick Find Box. Select DevOps Center.
- Click the toggle to enable DevOps Center.
- Click “Install Package.”
- Follow the instructions to install DevOps Center.
- Select Install for Admins Only ) or Install for All Users.
- Approve third-party access to login.salesforce.com and test.salesforce.com.
- Click “Done.”
You’ll receive a confirmation email when the installation is complete. When in doubt, confirm the installation on the Installed Packages Setup page.
You might get an error message when trying to install DevOps Center in a Professional Edition org. An unforeseen issue occurs when the post-installation script runs. Currently, there’s no workaround for this issue. However, you can install DevOps Center in another supported org edition, like Developer Edition. Salesforce plans to fix this issue in a near-future release.
Add User to the DevOps Center Org
If there are team members who aren’t yet users in the DevOps Center org, add them. Each team member must have the appropriate license and profile based on their role:
These licenses and profiles are the minimum for each type of user. You can also provide team members with a more fully featured license or profile if needed.
Here’s how to add users to the org:
- Log into the DevOps Center org.
- From Setup, search for “Users” and select it.
- Click “New User” or “Add Multiple Users.”
- Select the appropriate license type and profile for each user based on their role.
- Select “Generate passwords and notify user via email.”
- Click “Save.”
Your team members will receive an email inviting them to use the org, but since you’re still setting up DevOps Center, they can’t do anything in it. It’s advisable to ask your team to wait until you’ve completed the setup before they log in.
Assign the DevOps center Permission Sets Appropriately
- When working on a Salesforce project, you’ll need a team consisting of a variety of roles. Salesforce recommends the following team roles:
- Team manager/Project manager
- Org admin
- Admin/Declarative developer
- Pro-code developer
- Release manager
- Environments manager
- Quality assurance specialist
- Business Owner
Depending on their role, each team member needs their own specific permission sets. When assigning permission sets, consider who only needs access to work items and who needs to change project-level settings.
DevOps Center Permission Sets
Assign the DevOps Center and sf_devops_NamedCredentials permission sets to all users:
- In Setup, search for “Permission Sets” and select it.
- Choose the DevOps Center permission set.
- Click “Manage Assignments.”
- Click “Add Assignments.”
- Select the users you want to assign the permission set and click “Assign.”
- Click “Done.”
- Repeat this process for the sf_devops_NamedCredentials permission set.
Use the same procedure to assign the DevOps Center Manager and DevOps Center Release Manager permission sets to users who’ll be configuring projects, building pipelines, and promoting changes through the release pipeline.
The Set Up Workflow
Because you’re the admin of the DevOps Center org, you’re in charge of adding users, setting up projects, adding environments, configuring the pipeline, and creating work items.
The setup workflow is as follows:
Create sandboxes and project repository > Open DevOps Center > Create a new project and connect to repository > Connect to the final release environment > Add the other environments needed for the project > Configure the pipeline > Add users to the repository > Add users to the DevOps Center org > Assign permission sets to the users > Create and assign Work Items > Bring team members into the DevOps Center org
Create a GitHub Account
Every DevOps Center project needs its own repository or repo to store project work files and changes. During the project, the repository is your team’s centralized source of truth to manage changes.
For the public beta, DevOps Center only integrates with GitHub as a source control system. After GA, Salesforce plans to add other third-party source control systems, including GitLab, GitHub, and Bitbucket.
Everyone working on the project needs their own GitHub-hosted, cloud-based GitHub.com account. You can sign up for one here.