> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/administrator-documentation/templates/uploading-your-document-template.md).

# Uploading your Document Template

This lesson will show you how to upload a document template to AgileCase.

{% stepper %}
{% step %}

### Access the "Document" page

<figure><img src="/files/tucJjAXc4IlKMg7xGR4b" alt="" width="179"><figcaption></figcaption></figure>

To upload a document template you have created to AgileCase, first go to the document templates page by clicking the "Document" button under "Templates" in the settings menu.
{% endstep %}

{% step %}

### Add a new template

<figure><img src="/files/1JGpnUDY48y4MDvQBALz" alt=""><figcaption></figcaption></figure>

Any templates that you have already uploaded, along with the AgileCase example template, will be listed on this page. To upload a new template, click the "Add Document Template" button.
{% endstep %}

{% step %}

### Fill in the template details

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

On the new template page you can start filling out template details. You can name your template and add a brief description as well as decide whether you want it to be private or publicly available. You must then set the case type that this template will be available in and label it as appropriate.

Once you have done this, click the "Add Template" button and select the word document template that you wish to use.
{% endstep %}

{% step %}

### Select your template

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

The template that has been selected will be displayed below the "Add Template" button. If this is correct, you can proceed.
{% endstep %}

{% step %}

### Save and upload template

<figure><img src="/files/A7WdjRqPN8aRDEy4vWaK" alt="" width="206"><figcaption></figcaption></figure>

To upload and save your template, click the "Save template" button. You can now use this document template in cases of the specified type.
{% endstep %}
{% endstepper %}


---

# 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.agilecase.com/administrator-documentation/templates/uploading-your-document-template.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.
