Once you have setup your SonarQube servers, you just need to use the SonarQube ConnectorOWASP Top 10 Macro to setup the resource you want to get the issues from.

With this macro you will display The OWASP Top 10  a broad consensus about the most critical security risks to web applications.

You have to complete these parameters: