# Bitbucket Server

Let’s learn how to configure visibility for **BITBUCKET SERVER**. It's an Integration for ISD application that pulls data from an external data source for ISD to use in making informed decisions.

Following are the steps:

1. Add / Edit application & its respective services. [**Refer to this page**](https://docs.opsmx.com/user-guide/manage-application) to know how to add / edit applications.
2. Add Bitbucket Server as an Integration to the ISD system. [**Refer to this page**](https://docs.opsmx.com/user-guide/data-sources) to learn how to add an Integration.
3. Next, click on your application and go to the **pipeline builder** page. Here you can add and configure the multiple stages into the pipeline.
4. Click on "[**Add Stage**](https://docs.opsmx.com/user-guide/manage-pipelines/add-stage)" select the stage type as **Approval,** and enter the **stage name.** Here we have given the gate name "TestApproval".
5. Select the **Environment** from the drop-down menu and select the **approver group** from the drop-down menu, which contains the list of user groups who can approve the request. The selected group should have at least view access to the application.\
   If required, select the **Automated Approval** option, which will automatically approve the deployment based on preconfigured conditions.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FL8VPFAax1KSfZmf1rb63%2Fbitbucket%20server%201.png?alt=media&#x26;token=e29a02f7-92b9-4f87-8618-32dd96314967" alt=""><figcaption></figcaption></figure>

6\.  Select the "**BITBUCKET SERVER"** connector from the connector drop-down menu and select the "**Account**" from the drop-down menu.&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F5cDJ8Cy4hxU28sRB0WBX%2Fbitbucket%20server%202.png?alt=media&#x26;token=087e1c13-f07e-47c4-9878-aee6981dd7ef" alt=""><figcaption></figcaption></figure>

7\.  Enter the **Project Key, Repository, commit ID,** and **instance ID** on the above screen and then click "**Save Changes**".&#x20;
