SonarQube Cloud Integration Setup
Getting Started
Use this guide to connect SonarQube Cloud to your BalkanID tenant. You will need a token from SonarQube Cloud and access to the Integrations section in BalkanID.
Requirements:
Before you begin, collect the following values from SonarQube Cloud:
API Key
Region (sonarcloud.io or sonarqube.us)
Organization key (optional)
Configure SonarQube Cloud within your BalkanID tenant
To find the API Key, sign in to SonarQube Cloud as an organization administrator.
Open the account menu and go to My Account > Access Tokens > Personal Tokens.
Enter a name for the token, choose an expiration, and click Generate. Copy the value straight away — SonarQube Cloud displays it only once.
Note the Region your organization runs on:
sonarcloud.iofor the EU instance, orsonarqube.usfor the US instance. A token is only valid on the region it was created in.If you want to limit the sync to one organization, copy its Organization key from your organization's settings. Providing it scopes the sync to that organization; leaving it empty extracts every organization the token can access.
In BalkanID, go to Integrations and click Add integration.

Search for SonarQube Cloud, select it, and click Next.

Under Select Extraction Type, choose Direct Configuration, paste your values into the corresponding fields, then click Next.

Click Next to move onto Optional Configuration.
Fill Optional Configuration, if required.

Once you have filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.
What BalkanID extracts
Users
The members of each organization the token can access, with their email address and the identity provider they sign in through
Groups
The groups defined in each organization
Group membership
Which users belong to which group, which is how SonarQube Cloud expresses access
Integration Scopes
Organization administrator — SonarQube Cloud tokens do not carry individual scopes. The token inherits the permissions of the account that created it, and administrator access to the organization is required to read its members, groups and group membership.
N/A
Last updated
Was this helpful?

