---
title: "Bitbucket Data Center integration for AI agents | Langdock"
description: "Connect Bitbucket Data Center to Langdock. Agents and workflows can use 11 actions, such as “Create branch” and “Create pull request”."
url: "https://langdock.com/integrations/bitbucket-data-center"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Bitbucket Data Center integration for AI agents

Manage repositories, branches and pull requests on your Bitbucket Data Center instance.

Connect Bitbucket Data Center to Langdock and use it in chat, in agents and in workflows.

11 actions

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Bitbucket Data Center actions

Each action is one step an agent or workflow can run in Bitbucket Data Center.

### Read and search

- Get file content · Retrieves the raw content of a file from a repository
- Get pull request · Retrieves detailed information about a specific pull request
- Get pull request comments

  Gets the comments on a pull request, with their replies and the lines they are on
- Get pull request diff · Gets the unified diff of a pull request
- Get repository content · Lists the files and directories at a path in a repository
- List branches · Lists branches in a repository, most recently changed first
- List pull requests · Lists pull requests in a repository
- List repositories · Lists repositories the authenticated user can read, optionally in one project
- Search code

  Searches code across the repositories the user can read. Needs the instance's code search (Bitbucket Data Center 6.0 or later with search enabled)

### Create and update

- Create branch · Creates a new branch in a repository from an existing branch or commit
- Create pull request · Creates a new pull request between two branches of a repository

## Example prompts

Langdock suggests these prompts in the product for Bitbucket Data Center.

- What Bitbucket Data Center repositories can I access?
- Show open pull requests in a Bitbucket Data Center repository
- List branches in a Bitbucket Data Center repository
- What can I use this Bitbucket Data Center integration for?

## Setup and permissions

You connect Bitbucket Data Center by signing in there and granting Langdock access. Actions then run with the permissions of the connected account.

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

## Related integrations

[Azure DevOps Manage work items, comments, sprints, wiki pages, Git repositories, and pull requests 25 actions · 2 triggers](https://langdock.com/integrations/azure-devops)

[Bitbucket Manage your code, branches, commits, and pull requests. 11 actions · 1 trigger](https://langdock.com/integrations/bitbucket)

[Github Browse repos, manage issues and PRs, and search code 33 actions · 10 triggers](https://langdock.com/integrations/github)

[GitLab Browse repos, search code, and manage merge requests, issues, and pipelines 29 actions · 6 triggers](https://langdock.com/integrations/gitlab)

[Confluence Search, create, and edit Confluence pages and comments 20 actions · 2 triggers](https://langdock.com/integrations/confluence)

[Confluence Data Center Search, create, and edit Confluence pages and comments 10 actions · 2 triggers](https://langdock.com/integrations/confluence-data-center)

[All integrations](https://langdock.com/products/integrations)
