# SonarQube

Let’s learn how to configure visibility for **SonarQube**. It is an Integration for ISD application, an external data source from where ISD would pick the data for that would be used for taking informed decisions.&#x20;

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 **SonarQube** 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%2FLuVuMNlbxlpDhAhnVDhP%2Fsonar%201.png?alt=media&#x26;token=a5cc3961-921b-4556-942e-b2dabc2ea6fe" alt=""><figcaption></figcaption></figure>

6\.  Select the "**SonarQube"** connector from the connector drop-down menu and select the "**Account**" from the drop-down menu.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FwnXLpSIxRKWmj2prSgmE%2Fsonar%202.png?alt=media&#x26;token=b4b2affb-7d16-4312-bc9f-eb3eb8e3ef4b" alt=""><figcaption></figcaption></figure>

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