> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/quality-profile-association.md).

# Quality profile

If you do not explicitly associate a language with a specific quality profile in your SonarQube Cloud project, the default quality profile will be used.

If you do not explicitly associate a language with a specific quality profile in your project, the default quality profile will be used for the analysis of this language’s code. To change a quality profile association in your project, you need the Administer permission on the project.

{% hint style="info" %}
With the Administer Quality Profiles permission, you can change the associations of a profile for any project. This is done from the respective quality profile. In addition, you can delegate this permission to any user for a given custom quality profile. See [Granting permissions to users](/sonarqube-cloud/standards/managing-quality-profiles/authorizing-other-users-to-manage-quality-profile.md) for more information.
{% endhint %}

You create and manage quality profiles at the organization level. See [Creating a quality profile](/sonarqube-cloud/standards/managing-quality-profiles/creating-a-quality-profile.md). In your project, you can assign a general profile to all or selected languages, or a language-specific profile to one language. For a given language, the most recent assignment applies. See [Understanding quality profiles](/sonarqube-cloud/standards/managing-quality-profiles/understanding-quality-profiles.md#profile-types) for more information.

## Using a general profile <a href="#using-a-profile-for-all-languages" id="using-a-profile-for-all-languages"></a>

1. Go to *Your project* > **Policies** > **Quality profiles** and select the **General** tab. See [Retrieving projects](/sonarqube-cloud/managing-your-projects/retrieving-projects.md) to access your project.
2. In the **All** tab, select **Use for this project** on the profile you want to use. The **In use** tab lists the general profiles your project already uses.

<figure><img src="https://2223713658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB4UT2GNiZKjtxFtcFAL7%2Fuploads%2Fgit-blob-c72fb5142bee9fd30f8aba0cd58aac254eb9bbd4%2Fsonarqube-cloud-quality-profile-use-for-project.png?alt=media" alt="The project General tab with All selected, showing Sonar way core used for 50/50 languages and a Use for this project button on Sonar way extended"><figcaption></figcaption></figure>

3. When the dialog opens, choose one of these options:
   * **Set for all languages**: the profile is used for all languages in your project.
   * **Customize languages**: in the list of languages that appears, select the checkbox of each language the profile should be used for.
4. Select **Confirm**.

The card of each general profile your project uses shows the **Used for&#x20;*****N*****/*****M*****&#x20;languages** tag. To use another profile for some of these languages, repeat the procedure with that profile, or select a profile for each language on the **Language-specific** tab.

## Using a language-specific profile <a href="#using-a-language-specific-profile" id="using-a-language-specific-profile"></a>

1. Go to *Your project* > **Policies** > **Quality profiles** and select the **Language-specific** tab. See [Retrieving projects](/sonarqube-cloud/managing-your-projects/retrieving-projects.md) to access your project. The table lists each language of your project with its **Quality profile**.
2. Select another profile for the language from the list. The change is saved automatically.

<div align="left"><figure><img src="https://2223713658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB4UT2GNiZKjtxFtcFAL7%2Fuploads%2Fgit-blob-652416fbf8fad7b02ead8a8f9d1b704ab9a3821b%2Fsonarqube-cloud-quality-profile-set-project-profile.png?alt=media" alt="The project Language-specific tab with the Quality profile list for ABAP open, showing the default and the other available profiles"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-cloud/managing-your-projects/project-analysis/quality-profile-association.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
