# ​How to Add and Manage Links in a Template

### Create a link

{% columns %}
{% column %}

1. Place the cursor where you want the link.
2. Click the **Link** <img src="/files/8Vm9YKOSXhELRwumfmhe" alt="" data-size="line"> icon.
3. In the modal, enter the link text (optional) and the target URL.
   {% endcolumn %}

{% column %}

<figure><img src="/files/uC34Rvi4dv6J4J65vbFr" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Create a link from selected text

1. Select static text in the document.
2. Click the **Link** <img src="/files/8Vm9YKOSXhELRwumfmhe" alt="" data-size="line"> icon.
3. Fill in the link details in the modal.

{% hint style="warning" %}
Select only static text. If you include dynamic fields in the selection, those fields will be removed from the document.
{% endhint %}

### Edit, copy, or remove a link

1. Click the existing link.
2. Click the **Edit** <img src="/files/abdRaaVf4X0jRzZNabGg" alt="" data-size="line"> icon.
3. Use the available actions to copy or remove the link if needed.

<figure><img src="/files/RJmEciqZilYcbpB7Wj74" 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://support.docstudio.com/user/template-builder/template-editor/how-to-add-and-manage-links-in-a-template.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.
