# How to import repositories from version control

1. Be sure, that you have [set up the integration with your version control system](/appsec-portal/general-portal-settings/version-control-integration.md)
2. Navigate to Assets->Repositories page and click the "Import" button

<figure><img src="/files/m69GTWKjtBmBRFm1ZH2I" alt=""><figcaption></figcaption></figure>

3. Choose your integration

<figure><img src="/files/qeX9M6TTSjnkV2W3c3ZT" alt="" width="375"><figcaption></figcaption></figure>

4. Assign products for repositories (or just keep [your default one](/appsec-portal/features/asset-management/default-product.md))

<figure><img src="/files/nBZGyZCUdJgFCwmotOz6" alt="" width="375"><figcaption></figcaption></figure>

5. That's it. Now you can run audits&#x20;


---

# 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://docs.whitespots.io/appsec-portal/features/asset-management/how-to-import-repositories-from-version-control.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.
