> 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/gateway/guides/devolutions-server.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Set up with Devolutions Server

Set up Devolutions Gateway with Devolutions Server: install it, register it, then add Gateway rulesets and farms.

With Devolutions Server, you install Devolutions Gateway from the Devolutions Server Console or with the Devolutions Gateway installer, then register and manage it on the ***Devolutions Gateway*** page of the Devolutions Server web interface (***Administration*** – ***Devolutions Gateway***) or in Remote Desktop Manager (***Administration*** – ***Privileged access*** – ***Devolutions Gateway***). Managing gateways requires the ***Gateways*** – ***Manage*** administrative permission, included in the built-in ***Gateway administrator*** role.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Install from the Devolutions Server Console</strong></td><td>Side-by-side on the Devolutions Server machine, or a standard installation, from the <em><strong>Companions</strong></em> tab or the command line.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/install-from-console.md">Install Devolutions Gateway from the Devolutions Server Console</a></td></tr><tr><td><strong>Register and configure the gateway</strong></td><td>Add the gateway, check its health, set its security, publish its configuration, manage keys and update it.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/register-and-configure.md">Register and configure the gateway in Devolutions Server</a></td></tr><tr><td><strong>Gateway rulesets</strong></td><td>Allow or deny hosts, subnets, ranges and domains on top of a gateway, with their own permissions.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/rulesets.md">Gateway rulesets in Devolutions Server</a></td></tr><tr><td><strong>Gateway farms</strong></td><td>Spread sessions over several gateways and keep sessions available when one is down.</td><td><a href="https://docs.devolutions.net/gateway/guides/devolutions-server/farms.md">Gateway farms in Devolutions Server</a></td></tr></tbody></table>

To install Devolutions Gateway on a server without the Devolutions Server Console, use the installer: [Install on Windows](https://docs.devolutions.net/gateway/for-administrators/install/windows.md), [Install on Linux](https://docs.devolutions.net/gateway/for-administrators/install/linux.md) or [Run in Docker](https://docs.devolutions.net/gateway/for-administrators/install/docker.md), then [register the gateway in Devolutions Server](https://docs.devolutions.net/gateway/guides/devolutions-server/register-and-configure.md).


---

# 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/gateway/guides/devolutions-server.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.
