About SonarQube Cloud integration with Slack
With the SonarQube Cloud integration with Slack, users can receive real-time notifications on analysis results directly in Slack.
SonarQube Cloud integration with Slack is a beta feature, subject to the terms here.
With the 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, a notification is triggered when the quality gate status of a project’s main branch analysis transistions from Passed to Failed or 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
Last updated
Was this helpful?