How can we help?

SonarCloud Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with SonarCloud and syncs:

User Fields License Types
Name, email (when available), login, last connection date, role (Admin / Member) SonarCloud
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

To connect this integration, we require the following:

Accounts & Permissions

  • A SonarCloud (SonarQube Cloud) organization on any plan (Free, Team or Enterprise).
  • A user with the Administer permission (organization admin) on that organization. Torii needs this permission to list the organization's members and their admin role.

Required keys

  • Access Token - a personal access token of the organization admin.
  • Organization Key - the key that identifies your organization in SonarCloud.
  • Region - the SonarCloud region your organization is hosted in (EU or US).

How to Generate the Required Values

Step 1: Generate an Access Token

  1. Sign in to SonarCloud as a user who is an administrator of your organization.
  2. Open your account menu in the top right corner and select My account > Access tokens. SonarCloud shows the Personal Tokens tab only to users who signed in with GitHub.
  3. Under Generate Tokens, enter a token name (for example, Torii).
  4. Choose an expiration period (7, 30, 60 or 90 days, or a custom date of up to one year).
  5. Click Generate Token and copy the token.

Important
The token is shown only once. Copy it before leaving the page. Tokens expire, so generate a new token and update the connection in Torii before the expiration date.

Step 2: Find your Organization Key

  1. In SonarCloud, open your organization.
  2. Copy the organization key from the organization URL (the part after /organizations/), or from the organization settings.

Step 3: Identify your Region

Address you use to sign in to SonarCloud Region to select in Torii
sonarcloud.io EU (sonarcloud.io)
sonarqube.us US (sonarqube.us)

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for SonarCloud and click Connect.
  3. Enter the Access Token and Organization Key, and select your Region.
  4. Click Connect.

Actions

  • Change SonarCloud organization admin role - grants or removes the organization admin role for a user. It applies only to admin permission granted directly to the user.

For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request