> For the complete documentation index, see [llms.txt](https://support.docstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.docstudio.com/user/template-links-and-public-envelope-creation/how-to-create-a-public-template-link.md).

# How to Create a Public Template Link

### Before you start

Make sure you can edit the template and save changes.

* add a value to **Subject**
* configure recipients for all required roles in **Flow**
* share each dictionary publicly or mark it as official if the template uses dictionaries

### Create a public template link

Use a public template link to let other users create envelopes from this template.

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

1. Open the template in edit mode, then go to the **Template** tab.
2. On the **Template** tab, enter a value in **Subject**.
3. Change **Template access** from **My mailbox** to **Everyone**.
4. Open the **Flow** tab and add recipients for the required roles.
5. Click the <img src="/files/vG66BIgRvKk6Pubc3P96" alt="" data-size="line"> button to save the template.
6. Return to the **Template** tab.
7. Click **Template menu** <img src="/files/6NooSdwz0ktut3AiV67I" alt="" data-size="line">, then click **Get link**.
8. In the modal, choose one option:
   * **Shareable link** — open the public send form in a browser tab
   * **Embed code** — open the same form inside your website in an iframe
9. Copy the link or embed code.

### Add a redirect URL

Add the `redirectUrl` parameter to the public link or to the iframe source. URL-encode the value.

Open the redirect URL in a new tab after the envelope is sent successfully.

### Regenerate or revoke the link

1. Click **Template menu** <img src="/files/6NooSdwz0ktut3AiV67I" alt="" data-size="line">, then click **Get link**.
2. Do one of the following:
   * Click **Generate a new one** to replace the current public link
   * Click the <img src="/files/90YvQfMugrJMAnXrYMZ3" alt="" data-size="line"> button to disable the current link and embed code
3. If you revoke the link, click **Get link** again to create a new one.

{% hint style="warning" %}
Revoked links cannot be restored.
{% endhint %}

### Related topics

* [How Registered Users Can Create an Envelope via a Template Link](/user/template-links-and-public-envelope-creation/how-registered-users-can-create-an-envelope-via-a-template-link.md)
* [How Unregistered Users Can Create an Envelope via a Template Link](/user/template-links-and-public-envelope-creation/how-unregistered-users-can-create-an-envelope-via-a-template-link.md)
