> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/multiple-types-connections/host-with-templates.md).

# Host with templates

Create a Host Session entry that prompts you to choose a connection template at launch time in Remote Desktop Manager.

A ***Host Session*** entry will let you use templates to connect to the host. It will prompt you to choose which template to use to launch the host.

### Create and launch a Host Session entry with templates

1. Create one or multiple [Templates](/rdm/ribbon-menu-bar/administration/templates.md) via the ***File – Templates – Entry Templates*** menu. You may need to use variables like `$HOST$` for the host name as well as `$USERNAME$` and `$PASSWORD$` for the username and password respectively.
2. Go to ***Edit – New Entry – Add Session***.
3. Select the ***Host Session*** entry type. It should be located in the ***Session*** section, under ***General***. Click ***OK*** to create the new entry.
4. In ***General***, go to the ***Advanced*** tab and click on ***Select Templates***.
5. Select the template(s) to add to your host session. To select multiple templates, hold down the <kbd>Ctrl</kbd> key while making your selection.
6. When you have completed your selection, click ***OK***. The templates will then be added to your host session.
7. Finish configuring your entry, then click ***OK*** to save your changes.
8. Launch your host session. You will be prompted to select the appropriate template to launch the session.
9. Click ***OK*** after having selected the template. Your session will launch using the information provided in the template configuration.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/multiple-types-connections/host-with-templates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
