# Environment-related

In Portainer terms, an *environment* is an instance that you want to manage through Portainer. Environments can be Docker, Docker Swarm, Kubernetes, ACI or a combination. One Portainer Server instance can manage multiple environments.

{% hint style="info" %}
Endpoints were renamed to Environments in version 2.10.
{% endhint %}

{% content-ref url="/pages/8Bms9xMVtTNfjRdfucC2" %}
[Environments](/2.33-lts/admin/environments/environments.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MgrMlnZAeQzdHLq0uCU" %}
[Add a new environment](/2.33-lts/admin/environments/add.md)
{% endcontent-ref %}

Environments can be organized in groups and given tags.

{% content-ref url="/pages/-MgcuVpHfggt\_wDn\_a0N" %}
[Groups](/2.33-lts/admin/environments/groups.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MgcuYELEIKWNN-gS7Hg" %}
[Tags](/2.33-lts/admin/environments/tags.md)
{% endcontent-ref %}

Access to environments can then be managed on a per-environment or per-environment group basis.

{% content-ref url="/pages/-MhRf3LxN2ln2V0-Yxmj" %}
[Manage access to environments](/2.33-lts/admin/environments/access.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mjb5aAq7Z2OumIN0leW" %}
[Manage access to environment groups](/2.33-lts/admin/environments/access-groups.md)
{% endcontent-ref %}

Automatic onboarding scripts can be generated for larger Edge Agent deployments.

{% content-ref url="/pages/0xnCfFzrFFj4HdX4cCUL" %}
[Auto onboarding](/2.33-lts/admin/environments/aeec.md)
{% endcontent-ref %}

Edge Agent environments can be updated (and updates rolled back) directly from within Portainer.

{% content-ref url="/pages/dhSY1ZHocKpqfYSDAzW3" %}
[Update & Rollback](/2.33-lts/admin/environments/update.md)
{% endcontent-ref %}


---

# Agent Instructions: 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/2.33-lts/admin/environments.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.
