# Repository Link Configs

{% hint style="info" %}
Used in working with the [**Auditor**](/auditor.md)
{% endhint %}

This configuration enables the Portal to provide a link to the repository sources using the provided finding path and line. Associate it with Product Assets of the Repository type in [product settings](/appsec-portal/features/asset-management/adding-a-product-asset.md).

Navigate to **Settings → Integrations → Repository Link** to specify pattern for repository link

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

Create Repository link by clicking on the create button ![](/files/yzwwyj11SsV773urjDuB)\
To help you get started, here is the *URL builder*:

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

* select the URL pattern of your Git hosting service: choose from the **Example patterns** provided (available for GitHub, GitLab and Bitbucket) or create a new one in **Pattern** field;
* select a protocol shema;
* enter subgroup and branch name
* You can hover your mouse over the <mark style="background-color:blue;">highlighted</mark> parts of the URL in the results box to see what they mean about the correct way to build the project repository.

<figure><img src="/files/IbISoL3UM1ddoxlSD6km" alt=""><figcaption></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://docs.whitespots.io/appsec-portal/general-portal-settings/repository-link-configs.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.
