This is pretty straight forward with the new version. All you have to do is install as a guide. And he will suggest a command that needs to be executed using the build tool in the project folder.
For an example for maven it will be similar to
mvn sonar:sonar -Dsonar.host.url=http://localhost:9000 -Dsonar.login=4aa32e977ab1513e3fe5c3ac0c7883528d01a5e8.
With a team like these reports, Sonarqube will be sent. And the code analysis will be done
source share