---
schema_version: "1"
id: 73d56b536a4293bfb904db77dc25fec2f5448f10351060daff8dd39b9b54f271
title: Set Up Bitbucket as Your Source Control
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_setup_bitbucket_as_source_control.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_setup_bitbucket_as_source_control.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f0555492d7dfb2ce795c4320befe52732ddde635a39c3c1497bb61e6671b1375
description: Configure your Bitbucket Cloud repository to store project files and manage team access. Each Lifecycle Center pipeline requires its own Bitbucket Cloud repository as the single source of truth.
products:
  - Salesforce Platform
release: "264"
---
# Set Up Bitbucket as Your Source Control

Configure your Bitbucket Cloud repository to store project files and manage team access. Each Lifecycle Center pipeline requires its own Bitbucket Cloud repository as the single source of truth.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong> (API access required), <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not available in: <strong>Government Cloud Plus</strong>. Contact your Salesforce account executive for more details.</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not available in: <strong>EU Operating</strong> Zone. EU Operating zone is a special paid offering that provides an enhanced level of data residency commitment. Lifecycle Center <em>is</em> supported in orgs in the EU that aren’t part of EU OZ, per standard product terms and conditions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d24850e106">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d24850e106 ">To set up Bitbucket as source control: </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d24850e106 ">Lifecycle Center Admin</td>

          </tr>
        </tbody>
      </table>

Before you begin, complete these requirements:

- Accounts: All team members need a Bitbucket Cloud account. If your organization is new to Bitbucket, set up a workspace and at least one Bitbucket project. See [Bitbucket documentation](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-work-on-repositories-in-bitbucket-cloud).
- Project structure: Make sure that the repository contains an sfdx-project.json file in the root directory. Lifecycle Center automatically creates a Bitbucket repository in the supported structure. However, you can create your own repository or use an existing repository that follows the Salesforce DX project structure. See [Add the Salesforce DX Project File to the Bitbucket Repository](https://help.salesforce.com/s/articleView?id=platform.devops_center_add_sfdx_project.htm&language=en_US).
- Branch protection: As ‌best practice, configure branch protection in Bitbucket for branches such as main, staging, and integration. This configuration makes sure that the stage branches aren’t deleted after a change request merge.

#### See Also

- [_Bitbucket documentation_: Set up and work on repositories in Bitbucket Cloud](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-work-on-repositories-in-bitbucket-cloud/)

## Add Team Members to the Bitbucket Workspace

Add team members as workspace collaborators so they can access the Bitbucket workspace through Lifecycle Center. See [Grant access to a workspace](https://support.atlassian.com/bitbucket-cloud/docs/grant-access-to-a-workspace/).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/images/icon_note.png)

Note For repository-level access, see [Grant repository access to users and groups](https://support.atlassian.com/bitbucket-cloud/docs/grant-repository-access-to-users-and-groups/).

Confirm that each team member has accepted the invitation.

If a team member didn’t receive the invitation, ask them to check their spam folder or contact the person who set up Lifecycle Center.

Connect the repository in Lifecycle Center and create your project.