> 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="/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
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 dynamically by asking a question.

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

```
GET https://docs.whitespots.io/appsec-portal/general-portal-settings/repository-link-configs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
