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

# SonarQube

> SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs and code smells on 29 programming languages.

## Creating a SonarQube connection[​](#creating-a-sonarqube-connection "Direct link to Creating a SonarQube connection")

## Using User Token[​](#using-user-token "Direct link to Using User Token")

To create the connection you need:

* An API Address
* An User Token

### Obtaining the credentials[​](#obtaining-the-credentials "Direct link to Obtaining the credentials")

1. In your SonarQube/SonarCloud account, navigate to **My Account** > **Security** > **Generate Tokens** and create a new token.

   <img src="https://mintcdn.com/blinkops-2/mpgGCUqut4o2ZChd/img/SonarQube/sonarqube_tokens.png?fit=max&auto=format&n=mpgGCUqut4o2ZChd&q=85&s=d58732bc15871a41adbd5fc151699d22" alt="SonarQube Token Page" width="1173" height="743" data-path="img/SonarQube/sonarqube_tokens.png" />

2. Copy the newly generated token.

### Creating your connection[​](#creating-your-connection "Direct link to Creating your connection")

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **SonarQube** icon. A dialog box with name of the connection and connection methods appear.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **User Token** as the method to create the connection.

5. Fill in the parameters:

   * The API Address
   * The User Token

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.
