For the complete documentation index, see llms.txt. This page is also available as Markdown.

On-Prem

How to integrate Sonarqube with Hivel?

How to Integrate SonarQube with Hivel (On-Prem)

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: Whitelist IP Addresses in Your Infrastructure

Before connecting, whitelist the following IP addresses to ensure a secure and uninterrupted connection:

Mandatory IPs:

  • 107.23.139.76

  • 3.219.89.23

Recommended, but Optional IPs:

  • 45.119.114.218

  • 183.82.116.218

Step 2: Generate an Access Token

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

  1. Navigate to the "Security" tab

  1. Go to Generate a token

  2. Enter a token name (preferably "Hivel")

  3. Click "Generate"

  4. Copy and save the generated token securely

  1. Copy the URL from the address bar of your SonarQube server and save it

Step 3: Create a Webhook in SonarQube

Application: SonarQube

  1. Log in to your SonarQube platform

  2. Click "Administration" at the top of the page

  1. Select "Configuration" from the administration options

  2. Click "Webhooks" and create a new webhook

  1. Name the webhook "Hivel"

  2. Enter this URL: https://app.hivel.ai/hivel/webhook/sonar?orgId={OrgID}

Note: Contact Hivel for your OrgID

Step 4: Connect SonarQube to Hivel

Application: Hivel Platform

  1. Log in to Hivel

  2. Go to Settings

  3. Select Integrations

  1. Find the SonarQube card and click "Connect"

  1. Fill in the required details:

    • Instance Type: Select SonarQube Server (self-hosted)

    • SonarQube URL: Paste the server URL from Step 2.9

    • Access Token: Paste the token from Step 2.8

  2. Click Submit

You've successfully connected your SonarQube instance to Hivel. For further assistance, contact the Hivel support team at support@hivel.ai.


Continue setting up your integrations

Next: Connect additional on-prem tools to complete your setup in Integrations.

Last updated