> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusapien.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bitbucket

> Connect your Bitbucket data so your Agents can search and reference it through Knowledge Grounding

Connect your Bitbucket repositories so your Agents can access code, pull requests, and documentation.

<Info>
  Once connected, your Agents can search repositories, code files, and pull requests from Bitbucket through [Knowledge Grounding](/overview/platform/knowledge-grounding). You control which Connectors are active for each conversation: toggle Bitbucket on or off from the Knowledge Grounding filter in the chat input bar.
</Info>

## Setting up

<Steps>
  <Step title="Navigate to your Connections page">
    Go to Settings, then open the Connections tab. Find Bitbucket in the list of available connectors.
  </Step>

  <Step title="Get your app password">
    In Bitbucket, go to Personal Settings > App passwords. Create an app password with read access to your repositories.
  </Step>

  <Step title="Enter your credentials">
    Provide your Bitbucket username and app password. Select which repositories to connect.
  </Step>

  <Step title="Complete the connection">
    Save your settings. Your Agents will begin indexing your Bitbucket content.
  </Step>
</Steps>

## What your Agents can access

Once connected, your Agents have access to repositories, code files, and pull requests from Bitbucket. This content becomes searchable through Knowledge Grounding and is referenced when relevant to your requests.

Your Bitbucket data works alongside your other connected tools and [Vault documents](/overview/platform/vaults) to give your Agents a comprehensive view of your organization's information.

<Note>
  Having trouble setting up this Connector? Contact us at [support@trusapien.com](mailto:support@trusapien.com).
</Note>

<CardGroup cols={2}>
  <Card title="Knowledge Grounding" icon="magnifying-glass" href="/overview/platform/knowledge-grounding">
    How your Agents search your connected data
  </Card>

  <Card title="All Connectors" icon="plug" href="/connectors/overview">
    Browse all 39 available Connectors
  </Card>
</CardGroup>
