---
schema_version: "1"
id: 63430d0b832a0ab4ca5fa6991a2e215377314b5b04f233664df6a55825ce998f
title: Set Up DevOps Center for Bitbucket (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_configure_bitbucket.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_configure_bitbucket.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3db7acdd9ebe6d0eb38dfbe8f6b5784ad85a10d1cc8fd8846ad835b4a33bc243
description: Set up DevOps Center to use a Bitbucket source control repository. Currently, we support only Bitbucket Cloud.
products:
  - Salesforce Platform
release: "264"
---
# Set Up DevOps Center for Bitbucket (Beta)

Set up DevOps Center to use a Bitbucket source control repository. Currently, we support only Bitbucket Cloud.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center_setup-264-0-0-production-enus/4741b024-a514-4bcf-8f2f-9d308932d2de/images/icon_note.png)

Note DevOps Center Bitbucket Cloud support is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the [Product Terms Directory](https://ptd.salesforce.com/?_ga=2.247987783.1372150065.1709219475-629000709.1639001992). Use of this pilot or beta service is at the Customer's sole discretion.

A repository stores project work files — code, text, images, and so on. Each DevOps Center project needs its own repository for storing project changes. While you’re working on the project, the repository is the team’s centralized source of truth to manage changes.

If you’re familiar with using DevOps Center with GitHub, some of the steps are different for setting up Bitbucket. As part of our extensibility initiatives, we’re transforming our user interface, where DevOps Center functionality is moving to Lightning Experience so you have more control and flexibility in customizing the user experience. During this transition period, some Bitbucket setup and configuration tasks are performed in Lightning Experience and some are performed in the DevOps Center app. Menu options and buttons help you smoothly transition between the two.

## Bitbucket Workflow

- Create a [Bitbucket Cloud account](https://bitbucket.org/account/signup). All team members must have their own Bitbucket Cloud account.
- If your organization doesn’t already use Bitbucket, follow the [Bitbucket documentation](https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-bitbucket-cloud/) to set up:
    - A workspace
    - A project
    - At least one repository

## Bitbucket Repository Configuration

If you have an existing Bitbucket repo, you can use it as long as it follows the [Salesforce DX project structure](https://developer.salesforce.com/docs/atlas.en-us.250.0.sfdx_dev.meta/sfdx_dev/sfdx_dev_source_file_format.htm). If it isn’t a Salesforce DX repo, you can [add the necessary DX project file](https://help.salesforce.com/s/articleView?id=platform.devops_center_add_sfdx_project.htm&release=264.0.0&type=5 "To support DevOps Center features, the Bitbucket repository must follow the Salesforce DX project structure and contain a Salesforce DX project file.").

- In Bitbucket, [add team members to the repo as collaborators](https://help.salesforce.com/s/articleView?id=platform.devops_center_add_team_members_bitbucket.htm&release=264.0.0&type=5 "In Bitbucket, add team members as repository collaborators. A collaborator is someone who has been granted write access to the project repository. Add everyone who creates customizations or code for your project to the project repository as a collaborator. That way, they have access to the repository through DevOps Center.").
- In Lightning Experience, [connect the repository in DevOps Center](https://help.salesforce.com/s/articleView?id=platform.devops_center_bitbucket_connect_repo.htm&release=264.0.0&type=5 "Each DevOps Center project has a corresponding project repository. By connecting the Bitbucket repo to DevOps Center, DevOps Center can interact with the repo to perform operations such as creating feature branches, creating change requests, and committing and merging changes to each pipeline branch (stage).").
- In Lightning Experience, [create the DevOps Center project](https://help.salesforce.com/s/articleView?id=platform.devops_center_bitbucket_create_project.htm&release=264.0.0&type=5 "After you connect the Bitbucket repository in DevOps Center, create the DevOps Center project associated with this source code repository to help you and your team manage changes for a particular application or customization.").
- [Complete any optional configuration tasks](https://help.salesforce.com/s/articleView?id=platform.devops_center_configure_optional_tasks.htm&release=264.0.0&type=5 "Complete these optional setup tasks, as needed.").
- In the DevOps Center app, add your project environments, build your pipeline, and create and assign work items. All user tasks are performed in the DevOps Center app.

- **[Add Salesforce DX Project File to Bitbucket Repository](https://help.salesforce.com/s/articleView?id=platform.devops_center_add_sfdx_project.htm&release=264.0.0&type=5)**  
    To support DevOps Center features, the Bitbucket repository must follow the Salesforce DX project structure and contain a Salesforce DX project file.
- **[Add Team Members to the Bitbucket Repo As Collaborators](https://help.salesforce.com/s/articleView?id=platform.devops_center_add_team_members_bitbucket.htm&release=264.0.0&type=5)**  
    In Bitbucket, add team members as repository collaborators. A collaborator is someone who has been granted write access to the project repository. Add everyone who creates customizations or code for your project to the project repository as a collaborator. That way, they have access to the repository through DevOps Center.
- **[Connect the Bitbucket Repo in DevOps Center](https://help.salesforce.com/s/articleView?id=platform.devops_center_bitbucket_connect_repo.htm&release=264.0.0&type=5)**  
    Each DevOps Center project has a corresponding project repository. By connecting the Bitbucket repo to DevOps Center, DevOps Center can interact with the repo to perform operations such as creating feature branches, creating change requests, and committing and merging changes to each pipeline branch (stage).

#### See Also

- [Set Up DevOps Center for GitHub](https://help.salesforce.com/s/articleView?id=platform.devops_center_configure.htm&release=264.0.0&type=5 "To use GitHub with DevOps Center as your source control repository, some tasks are performed within GitHub, such as creating a repository and adding team members. And some tasks are performed in DevOps Center, such as setting up the associated DevOps Center project, adding development and pipeline environments, configuring your pipeline, and creating and assigning work items to team members.")