> ## Documentation Index
> Fetch the complete documentation index at: https://allhandsai-docs-686-repository-boundaries.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Remote Backend

> Connect Agent Canvas to an Agent Server backend running on another machine or container.

A remote backend is an Agent Server endpoint that runs somewhere other than the Agent Canvas client. It uses the same Agent Server API as a local backend. The backend can run on another machine, on a VM, or in a separate container on the same machine.

Agent Canvas does not distinguish a remote backend by where it runs. It connects to the endpoint URL and displays the conversations, files, settings, and automations that backend provides.

## What A Remote Backend Needs

A remote backend must provide:

* An accessible Agent Server URL.
* An API key when the backend requires authentication.
* A workspace or sandbox where Agent Server can execute tools.

To use scheduled or event-driven automations, the backend must also provide Automation Server.

## Connect To A Remote Backend

1. Start or obtain the URL for the Agent Server backend.
2. In Agent Canvas, open the backend switcher and choose `Manage Backends`.
3. Select `Add Backend`.
4. Enter a display name, the **Host / Base URL**, and the API key when required.
5. Save the backend and select it.

The selected backend becomes the execution environment for new conversations. Its workspace, settings, profiles, secrets, MCP servers, and automation state remain separate from other backends.

<Warning>
  Anyone who can reach Agent Server with its API key can request agent execution in that backend's workspace. Use TLS, access controls, and a high-entropy API key before exposing a backend outside a trusted network.
</Warning>

## Deployment Examples

| Location                           | Start here                                                                         |
| ---------------------------------- | ---------------------------------------------------------------------------------- |
| Another local process or container | [Local Backend](/openhands/usage/agent-canvas/backend-setup/local)                 |
| A VM or dedicated machine          | [VM / Self-Hosted Installation](/openhands/usage/agent-canvas/backend-setup/vm)    |
| Docker                             | [Use Docker with Agent Canvas](/openhands/usage/agent-canvas/backend-setup/docker) |
| Kubernetes                         | [Kubernetes (Helm)](/openhands/usage/agent-canvas/backend-setup/kubernetes)        |
| Modal                              | [Modal Backend](/openhands/usage/agent-canvas/backend-setup/modal)                 |
| A managed OpenHands platform       | [Cloud Backend](/openhands/usage/agent-canvas/backend-setup/cloud)                 |

## Next Steps

* [Connect And Manage Backends](/openhands/usage/agent-canvas/backends)
* [Agent Canvas Architecture](/openhands/usage/agent-canvas/architecture)
* [Agent Server Overview](/sdk/guides/agent-server/overview)
