I want to implement a scenario when a developer commits code, sonar code quality checks should get e

Hi - I just want to add the way it is mentioned in the below link. how i will get the settings shown in the 2nd (point no 4)screenshot mentioned in the article where it populates SonarQube Code Analysis?

  1. Require status check to pass before merging
  2. Tick the SonarQube Code Analysis check.