> For the complete documentation index, see [llms.txt](https://docs.whitespots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whitespots.io/appsec-portal/general-portal-settings/repository-link-configs.md).

# 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="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FjuXAduNZQtRat6mtf5HH%2Flink%20config.png?alt=media&amp;token=59e69f89-ec67-40fd-96a7-3694dbeae90f" alt=""><figcaption></figcaption></figure>

Create Repository link by clicking on the create button ![](https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2Fg674tzB5UbAPdJS5FrtF%2Fimage.png?alt=media\&token=ae3f2933-653b-4579-9899-d3e0302da52b)\
To help you get started, here is the *URL builder*:

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FLC5QHw1OqFX2dnsj3bDc%2Fimage.png?alt=media&amp;token=ec82c265-c7b2-4ca2-868e-25d39d48b625" 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="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FNYqOecmeoAhyGs1cgLM6%2Fimage.png?alt=media&amp;token=0c51200a-0136-45b8-a545-91021141ed27" alt=""><figcaption></figcaption></figure>
