> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/integrations/sonarqube/hivel-managed.md).

# Hivel-managed

### How to Integrate SonarQube with Hivel

Integrating SonarQube with Hivel enhances the quality and security of your codebase by enabling continuous code inspection and quality monitoring. SonarQube helps detect bugs, vulnerabilities, and code smells, ensuring that your software projects maintain high standards of code quality.

#### Step 1: Generate an Access Token in SonarQube

**Application: SonarQube**

1. Log in to your SonarQube account
2. Click the name icon in the top right corner
3. Select "My Account" from the dropdown menu

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FqsiPxfaJ5nBD2p9ciXBc%2Fimage.png?alt=media&amp;token=21858d36-722f-4efb-a690-38777760f6a7" alt=""><figcaption></figcaption></figure>

4. Navigate to the "Access Tokens" tab

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FBCAfqZrWsw3DGVsxN5MW%2Fimage.png?alt=media&amp;token=017ead0b-72ab-46a5-af25-e7fa1222eab4" alt=""><figcaption></figcaption></figure>

5. Go to Personal Tokens
6. Enter a token name (preferably "Hivel") and set an expiration date
7. Click "Generate Token"
8. Copy and save the generated token securely

**Also in SonarQube:**

9. Copy the base URL from your address bar Example: If your browser shows `https://sonarcloud.io/project/overview?id=your-project`, copy only `https://sonarcloud.io`

#### Step 2: Connect SonarQube to Hivel

**Application: Hivel Platform**

1. Log in to Hivel
2. Go to Settings
3. Select Integrations

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FBmr0wKVXridd3vsOMGf0%2FScreenshot%202026-08-18%20at%205.28.40%E2%80%AFPM.png?alt=media&amp;token=bcb84e79-eca3-470e-a077-ac43462fb941" alt=""><figcaption></figcaption></figure>

4. Find the SonarQube card in the CI/CD section

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FxxEg1XMIeshN0mrCAqB6%2FScreenshot%202026-09-15%20at%203.03.08%E2%80%AFPM.png?alt=media&amp;token=136f9b3c-3fba-4866-ad7d-54292f40d4a3" alt=""><figcaption></figcaption></figure>

5. Click "Connect"
6. Fill in the required details:

   * **Instance Type:** Select SonarQube Cloud
   * **SonarQube URL:** Paste the base URL from Step 1.9
   * **Access Token:** Paste the token from Step 1.8

   <figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2F47h4LZtKWyllnRWUPPUB%2Fimage.png?alt=media&amp;token=236f7d85-634e-42fc-9bf1-e79d43a820e4" alt=""><figcaption></figcaption></figure>
7. Select the checkbox and click "Integrate SonarQube"

***

You've successfully connected SonarQube to Hivel. For further assistance, contact the Hivel support team at [<mark style="color:purple;">support@hivel.ai</mark>](mailto:support@hivel.ai).

***

Next: Connect additional tools to complete your setup in [Integrations](/integrations.md).
