---
title: "Create and assign the environment attribute | Grafana Labs"
description: "Learn how to create the `env` attribute that identifies the deployment environment for targeted configuration management."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Create and assign the environment attribute

In this milestone, you create the `env` attribute that identifies the deployment environment. This attribute enables environment-specific configuration management and prevents accidental changes to production systems by allowing you to target configuration updates to specific environments.

Repeat Milestone 3 to select collectors that are deployed in the same environment.

Click **Edit remote attributes**, then in the dialog:

1. Click **Add remote attributes** to expand the section.
2. In the **Key** field, type `env` and press Enter.
3. In the **Value** field, type a deployment environment, for example, `prod`, and press Enter.
4. Click **Apply changes**.

Repeat this milestone until all collectors have been categorized by environment.

After you apply the final changes, return to the **Inventory** tab to view all the new remote attributes that categorize your fleet: `team`, `service.name`, and `env`. These attributes provide a comprehensive categorization profile that tells you who owns the collector, which service it monitors, and where it runs.

In the next milestone, you celebrate completing this journey and review what you’ve accomplished.

* * *

### More to explore (optional)

At this point in your journey, you can explore the following paths:

- [Streamline your workflows](/docs/grafana-cloud/send-data/fleet-management/streamline-workflows/)
