Generate a Personal Access Token
Personal Access Tokens are managed from the Access Tokens page of your SonarQube Cloud account.
Open the Access Tokens page
Sign in to SonarQube Cloud, or sonarqube.us for the US region, then click your avatar and open My account > Access Tokens.
- Select the Personal Tokens tab.
Generate the token
Under Generate Tokens, enter a name and click Generate Token.
- Name — human-readable identifier (e.g.
stackone-connector) - Click Generate Token.
- Copy the token value immediately — it is only displayed once. Tokens are 40-character hex strings with no prefix (e.g.
0eaecdfe61a6b19cbbdfee4f560e51ab476b01af). - Scheduled expiry is automatic: 60 days from creation, then 60 days from last use. Use the token at least once every 60 days to keep it alive — or rotate.
Find your Organization Key
Almost every Web API endpoint requires your organization key.
Locate the organization slug
In SonarQube Cloud, the organization key is the slug in the URL when viewing your workspace.
- Look at the URL:
https://sonarcloud.io/organizations/<slug>— the segment after/organizations/is your organization key. - Or open My account → Organizations and copy the Key column for the organization you want to integrate.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for SonarQube Cloud into StackOne.