Skip to main content
Personal Access Tokens expire 60 days after their last use, so generate a new one if the account stops syncing for that long. The token carries every permission of the user who creates it, so create it from a dedicated user that is an admin of the organization.

Generate a Personal Access Token

Personal Access Tokens are managed from the Access Tokens page of your SonarQube Cloud account.

1

Generate the token

Sign in to SonarQube Cloud, or to SonarQube Cloud US for the US region.

  • From your avatar menu, open My account > Access Tokens.
  • If you see tabs, select Personal Tokens.
  • Name: under Generate Tokens, a label that tells you what the token is for.
  • Click Generate Token.
2

Copy the token

Copy the token value right away. SonarQube Cloud shows it only once.

Find your Organization Key

Copy the organization key from your SonarQube Cloud workspace URL.

1

Copy the organization key

The organization key is the part of your workspace URL after /organizations/.

  • Format: https://sonarcloud.io/organizations/{organization-key}
  • Example: in https://sonarcloud.io/organizations/acme-corp, the organization key is acme-corp.
1

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.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for SonarQube Cloud into StackOne.