Unable to failing the GitLab pipeline, if Quality Gate fails from SonarCloud

How to intergrade Sonar Cloud with Gitlab, so that if the Quality Gate fails, the Gitlab pipeline stops further.

I think these docs are just what you’re looking for.