# Bitbucket Server Integration

## 1. **Install Bitbucket Addon on Oobeya** :jigsaw:&#x20;

1. Log in to Oobeya with an *Administrator* account.
2. Navigate to **Integrations** and select the **Bitbucket** addon and then click the **"Install"** button.

![](/files/elIPhxrGf5S9VNUbGAwG)

## **2. Add A New Data Source**:electric\_plug:&#x20;

1\. Navigate to **Data Sources**, and select Bitbucket to add a new data source.&#x20;

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2F0w59U3BV44Qt72aL24uj%2Ffile.png?alt=media)

2\. Click the "New Data Source" button and fill in the form using your Bitbucket credentials.

**Data Source Name:** A custom name for your data source (e.g., "Bitbucket").&#x20;

**Server URL:** Your Bitbucket server’s URL (e.g., <https://bitbucket.mydomain.com).&#x20>;

**Username:** The username you use to log in to Bitbucket.&#x20;

Password: Your Bitbucket account password.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGIlBSTjQtZxUoFwUx4%2Fuploads%2FDUaZ0mo1RtntsW9oAosf%2Ffile.png?alt=media)

3\. Click the **"Test Connection"** button to verify the connection.

## **Ready to Connect** :rocket:&#x20;

Now Oobeya is connected with your own Bitbucket Server to get the real-time statistics of your code repositories to track each development activity.

## **Next Steps** :dart:&#x20;

* [Add a new Widget](/dashboards/adding-a-new-widget.md)
* [Create a new Gitwiser Analysis](https://docs.oobeya.io/gitwiser-repo-analytics/initialize-development-analytics)


---

# 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.oobeya.io/integrations/all-integrations/scm-addons/bitbucket-server-integration.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.
