# Source: https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis.md

# Setting up project analysis

If you don’t use [automatic-analysis](https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/automatic-analysis "mention"), you must configure a CI-based analysis with a SonarScanner before setting up a project analysis. If needed, see the [overview-of-integrated-cis](https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/ci-based-analysis/overview-of-integrated-cis "mention") page to learn about CI integrations.

{% content-ref url="project-analysis/setting-analysis-scope" %}
[setting-analysis-scope](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope)
{% endcontent-ref %}

{% content-ref url="project-analysis/long-lived-branch-pattern" %}
[long-lived-branch-pattern](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/long-lived-branch-pattern)
{% endcontent-ref %}

{% content-ref url="project-analysis/changing-quality-gate" %}
[changing-quality-gate](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/changing-quality-gate)
{% endcontent-ref %}

{% content-ref url="project-analysis/quality-profile-association" %}
[quality-profile-association](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/quality-profile-association)
{% endcontent-ref %}

{% content-ref url="project-analysis/configuring-new-code-calculation" %}
[configuring-new-code-calculation](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/configuring-new-code-calculation)
{% endcontent-ref %}

### Related pages

* Set and adjust your [setting-analysis-scope](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope "mention"). To get started with understanding your analysis scope, see the section's [introduction](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/setting-analysis-scope/introduction "mention") page.
* Enrich you analysis results with test coverage, external analyzers, and branch analysis. See the [overview](https://docs.sonarsource.com/sonarqube-cloud/enriching/overview "mention") page to Enriching your analysis.
* Disable or enable [automatic-analysis](https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/automatic-analysis "mention").
* Define a [long-lived-branch-pattern](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/long-lived-branch-pattern "mention").