# Bit bucket

### **Steps to Create a Bitbucket Integration** <a href="#steps-to-create-an-bitbucket-integration" id="steps-to-create-an-bitbucket-integration"></a>

\
For Personal Access Token permissions and guidelines, follow this link [Bitbucket | In-Product Guides](https://docs.ozone.one/in-product-guides/bitbucket)

**Pre-requisites**

* Username
* personal access token

**Steps:**

1. Enter the details required to link your provider for onboarding the repository and click **Create Integration**.

<figure><img src="/files/WpueyggZ3jk93XBNz9fW" alt=""><figcaption></figcaption></figure>

2. Once the credentials are verified a modal window is shown to choose the organisations you want to integrate to Ozone.

<figure><img src="/files/yemLVwRSkQNlA7swoNAF" alt=""><figcaption></figcaption></figure>

Once you have done selecting repositories click on **Submit** below the modal window\
\
3\. Once the integration is created, the resources will be synced, and the status of the resource synced will be shown on the top left of the integration card ( as shown above - *Failed)*\ <br>

click the card to get a detailed view of the integration created, The user can view the credentials and the resources that are synced, in this case the sync fails the user can click the sync icon on the top right to sync again\
\
This integration Syncs repositories from your Bitbucket provider

<figure><img src="/files/teZ07ObJSbwOzJlcolzY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ozone.one/ozone-end-user-guide/documentation/setup/integrations/managing-source-code-integrations/bit-bucket.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
