> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/start/agent.md).

# Add an environment to an existing installation

If you want to add another environment to your existing Portainer installation, first select the type of environment you would like to add.

You can choose to connect to existing environments:

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Docker Standalone</strong></td><td>Connect to Docker Standalone via URL/IP, API or Socket</td><td></td><td><a href="/pages/-MgrN9SQWLnonEwjvbuh">/pages/-MgrN9SQWLnonEwjvbuh</a></td><td><a href="/files/XvwYuqpJMvk7MKfvk4yf">/files/XvwYuqpJMvk7MKfvk4yf</a></td></tr><tr><td><strong>Docker Swarm</strong></td><td>Connect to Docker Swarm via URL/IP, API or Socket</td><td></td><td><a href="/pages/-MgrNT4T4uCn7iQq0G93">/pages/-MgrNT4T4uCn7iQq0G93</a></td><td><a href="/files/XvwYuqpJMvk7MKfvk4yf">/files/XvwYuqpJMvk7MKfvk4yf</a></td></tr><tr><td><strong>Kubernetes</strong></td><td>Connect to a Kubernetes environment via URL/IP or via kubeconfig import</td><td></td><td><a href="/pages/-MgrNYu-1htx-qcE4CHp">/pages/-MgrNYu-1htx-qcE4CHp</a></td><td><a href="/files/Q7KbdKwH1vJr6TTpEEBh">/files/Q7KbdKwH1vJr6TTpEEBh</a></td></tr><tr><td><strong>Podman</strong></td><td>Connect to a Podman environment via URL/IP or Socket</td><td></td><td><a href="/pages/tecNWbjwiUA85PsE1ZNA">/pages/tecNWbjwiUA85PsE1ZNA</a></td><td><a href="/files/7kI9PyxIUYVhdFgTQUbE">/files/7kI9PyxIUYVhdFgTQUbE</a></td></tr><tr><td><strong>Azure ACI</strong></td><td>Connect to an Azure ACI environment via API</td><td></td><td><a href="/pages/-MgrO-nS_Z5yYK4-Gz2Q">/pages/-MgrO-nS_Z5yYK4-Gz2Q</a></td><td><a href="/files/V1QTsJsBbDs4MCxGrtMQ">/files/V1QTsJsBbDs4MCxGrtMQ</a></td></tr></tbody></table>

Or alternatively set up new environments:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Provision KaaS Cluster</strong></td><td>Provision a Kubernetes cluster via a cloud provider's Kubernetes as a Service</td><td></td><td><a href="/pages/75r7MwmKS8qoApxilQLj">/pages/75r7MwmKS8qoApxilQLj</a></td><td><a href="/files/mMAGKlfRY2OJmf1DA6kK">/files/mMAGKlfRY2OJmf1DA6kK</a></td></tr><tr><td><strong>Create a Kubernetes cluster</strong></td><td>Create a Kubernetes cluster on existing infrastructure</td><td></td><td><a href="/pages/wzxSh2kxoQeHJaYlBzkB">/pages/wzxSh2kxoQeHJaYlBzkB</a></td><td><a href="/files/3pyJr4bWWtMKgERd8y8S">/files/3pyJr4bWWtMKgERd8y8S</a></td></tr></tbody></table>


---

# 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:

```
GET https://docs.portainer.io/start/agent.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.
