# Viewing a quality gate

Any user, even an ananymous user, can view the quality gates defined in a SonarQube Community Build instance. For information about quality gates, see the [introduction-to-quality-gates](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/introduction-to-quality-gates "mention") page.

To view the definition of a quality gate:

1. In the top menu bar, select **Quality Gates**.
2. In the left panel, select the quality gate you want to view. Its definition is displayed in the right panel. For information about the metrics used in the conditions, see the [metrics-definition](https://docs.sonarsource.com/sonarqube-community-build/user-guide/code-metrics/metrics-definition "mention") page. Note that conditions may apply only to new code. More information can be found on the [about-new-code](https://docs.sonarsource.com/sonarqube-community-build/user-guide/about-new-code "mention") page.
3. To view the projects explicitly associated with this quality gate, navitage down to **Projects** in the right panel (Note that projects cannot be explicitly associated with the default quality gate). The **With** tab lists the associated projects. The **Without** tab lists the projects not associated with this quality gate. The **All** tab shows all projects.

The figure below shows the **Quality Gates** page:

1. The list of quality gates in your instance. Icons are used to indicate if a quality gate is qualified for AI Code Assurance.
2. The definition of the selected quality gate.
3. The projects associated with the selected project.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2Fgit-blob-6c305907ebdd37682df9408808d9dc397ab84db6%2Ffa7a9c1d0d6104e7d77679a93118060fbe7f2c9f.png?alt=media" alt="Select a quality gate, define its conditions on new and overall code, then assign to projects."><figcaption></figcaption></figure></div>

## Related pages <a href="#related-pages" id="related-pages"></a>

* [introduction-to-quality-gates](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/introduction-to-quality-gates "mention")
* [viewing-quality-gate](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/viewing-quality-gate "mention")
* [changing-default-quality-gate](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/changing-default-quality-gate "mention")
* [managing-custom-quality-gates](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/managing-custom-quality-gates "mention")
* [associating-projects-with-quality-gate](https://docs.sonarsource.com/sonarqube-community-build/quality-standards-administration/managing-quality-gates/associating-projects-with-quality-gate "mention")
* [subscribing-to-notifications](https://docs.sonarsource.com/sonarqube-community-build/user-guide/managing-your-account/subscribing-to-notifications "mention")
* [changing-quality-gate-and-fudge-factor](https://docs.sonarsource.com/sonarqube-community-build/project-administration/adjusting-analysis/changing-quality-gate-and-fudge-factor "mention")
