# Custom

This section lists the custom templates that have been created for deploying to your Edge devices.

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

To deploy a custom template as an Edge stack, click the template in the list.

## Add a new custom template

To create a new custom template, click the **Add Custom Template** button and fill out the resulting form and stack details.

{% hint style="info" %}
For more detail on custom template creation, refer to the [custom template](/sts/user/docker/templates/custom.md#creating-a-new-custom-template) documentation.
{% endhint %}

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

## Edit an existing template

To edit an existing custom template, click the **Edit** button for the template you want to change.

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

## Remove a custom template

To remove a custom template, click the **Delete** button for the template you want to remove. This will not remove any Edge stacks that had been previously created with this template.


---

# 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.portainer.io/sts/user/edge/templates/custom.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.
