About SonarQube Cloud integration with Slack
SonarQube Cloud integration with Slack a beta feature, subject to the terms here.
With SonarQube Cloud integration with Slack, users can receive real-time notifications on analysis results directly in Slack. The Slack messages contain context-rich notifications for immediate action, significantly cutting context-switching and improving code review feedback loop efficiency.
Currently, the following events trigger a notification:
- When the quality gate status of a project’s main branch analysis is Failed.
- When the quality gate status of a project’s main branch analysis transitions from Failed to Passed.
Integration overview
The SonarQube App for Slack, installed in your Slack workspace, allows the integration of SonarQube Cloud with Slack:
- SonarQube Cloud is connected at the global level to your Slack workspace.
- Users log in to the SonarQube App for Slack by connecting their SonarQube Cloud and Slack accounts.
- Any Slack channel can be subscribed to notifications on one or several SonarQube Cloud projects distributed across different organizations:
- The channel’s member who performs the subscription must have Browse access to the project in SonarQube Cloud.
- All channel members receive the notifications.

Integration security
SonarQube Cloud and Slack utilize OAuth 2.0 for their integration, ensuring secure data transfer. This is achieved through secure token handling, encryption, and robust access controls, all contributing to the highest security standards
Notification process
The notification process is as follows:
- When an event to be notified occurs in SonarQube Cloud following the analysis of Project_abc, SonarQube Cloud sends the event notification to the SonarQube App for Slack to be sent to each Slack channel subscribed to this project.
- The SonarQube App for Slack forwards the messages to all subscribed channels. All channel members receive the message.

Related pages
Was this page helpful?