# Exporting CodeScan Quality Profiles

### Overview <a href="#overview" id="overview"></a>

[CodeScan](https://www.codescan.io/) offers you the option to export the **Quality Profiles** you have created.

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

This will only work with `Custom Quality Profiles.` The built-in profiles are available on every account already.

### Steps <a href="#steps" id="steps"></a>

1. Log in to your CodeScan account.
2. Navigate to your **Organization**.
3. Click on the **Quality Profiles** tab.
4. Once you have all the quality profile rules on the screen, select the rule you want to export and click on the (![](/files/Eh3AZ31L56mrIJJol94Y)) icon.
5. Click on **Back up**. This will download an XML file for your quality profile.<br>

   <figure><img src="/files/o3YnVrucQhLilDXuTVwu" alt=""><figcaption><p>Back Up</p></figcaption></figure>
6. To upload the downloaded XML file to any CodeScan organization or account, go to the **Quality Profiles** tab and click on the **Restore** button.<br>

   <figure><img src="/files/bUGhzAfDBvbqDM7uAlzt" alt=""><figcaption><p>Restore</p></figcaption></figure>
7. A pop-up will allow you to browse for the XML file locally. Once you upload the file, click on **Restore**.<br>

   <figure><img src="/files/B5ZpzcTeP9Yl1Yh0ekBX" alt="" width="375"><figcaption><p>Restore</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/codescan/quality-profiles/exporting-codescan-quality-profiles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
