> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/bitbucket.md).

# Bitbucket Integration

Bitbucket is a Git-based source control platform for hosting repositories and managing pull requests.

### How AI SRE supports Bitbucket <a href="#how-ai-sre-supports-bitbucket" id="how-ai-sre-supports-bitbucket"></a>

AI SRE treats Bitbucket as a change source for the [Deploy Change Investigator](/ai-sre/ai-sre-for-administrators/set-up-change-management/deploy-change-investigator.md). It polls Bitbucket Cloud for pull request activity and ingests merged pull requests as code changes, which are then correlated with incidents during investigation.

* **Pull request ingestion:** AI SRE polls Bitbucket Cloud on a schedule and records pull request events as changes.
* **Bitbucket Cloud only:** Pull request ingestion is supported for Bitbucket Cloud, not Bitbucket Data Center or Server.

### Set up Bitbucket <a href="#set-up-bitbucket" id="set-up-bitbucket"></a>

Connect Bitbucket Cloud through its change source:

* Go to [Bitbucket change source](/ai-sre/ai-sre-for-administrators/set-up-change-management/sources/bitbucket.md) to connect Bitbucket Cloud and configure pull request polling.

### Related concepts <a href="#related-concepts" id="related-concepts"></a>

* Go to [GitHub Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/github.md) to ingest pull requests and send build and deploy webhooks.
* Go to [Harness Code Integration](/ai-sre/ai-sre-for-administrators/set-up-integration-management/cicd-change/harness-code.md) to ingest pull requests with no connector required.
* Go to [Integration Management](/ai-sre/ai-sre-for-administrators/set-up-integration-management/index.md) to review all AI SRE integrations.
