# Edge Groups

The Edge Groups feature lets you group together Edge environments either by manually selecting them or based on their [tags](/admin/environments/tags.md). This is useful if you manage multiple Edge environments in multiple zones.

{% hint style="info" %}
This functionality requires you to [enable Edge Compute](/admin/settings/edge.md) features.
{% endhint %}

From the menu select **Edge Groups** then click **Add Edge group**.

<figure><img src="/files/oMQoG7XsYQqU2hzgfcA6" alt=""><figcaption></figcaption></figure>

Give the group a descriptive name then select either **Static** or **Dynamic**:

<figure><img src="/files/NMiCcO9OaJtJESdljewL" alt=""><figcaption></figcaption></figure>

### **Option 1: Static**

This option lets you manually add environments to the group from a list. Select the required environments then click **Add edge group**.

<figure><img src="/files/zoTK7NjbQqjq2ZoltpmC" alt=""><figcaption></figcaption></figure>

### Option 2: Dynamic

This option lets you automatically associate environments via their tags. If you choose this option you will need to refine how Edge environments are dynamically associated.

| Option        | Overview                                                                                                              |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| Partial Match | Will associate any environments matching at least one of the selected tags (environments can have more than one tag). |
| Full Match    | Will associate any environments matching all of the selected tags.                                                    |

When you select a tag from the dropdown, environments with that tag will appear in the results.

<figure><img src="/files/ffxWOaAhYQJxrBHzSSLV" alt=""><figcaption></figcaption></figure>

Click **Add edge group** to associate the environments to the group.


---

# 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/user/edge/groups.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.
