# Environment Mapping

The **Environment Mapping** feature enables users to map Spinnaker accounts with custom-defined environments such as Development, Staging, and Production. By mapping these accounts, the feature facilitates accurate identification of deployments within each environment. The mapped accounts are also utilized to populate environment-specific deployment data on the **Deployment Insights** page.

Navigate to **Setup** > **Environment Mapping**. The page with the environments and its account details are displayed as shown below:

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

### Import Mapping

Clicking the **Import Mapping** button allows you to import the configured Spinnaker accounts. Once the accounts are populated, you can edit the records to complete missing fields such as **Environment** and **Namespace**, ensuring accurate identification of deployments for each environment.

This button can also be used after adding new accounts to continuously update the mapping and include the newly added accounts.

Once you import the file you get a success message as shown:

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

### Bulk Import

Clicking the **Bulk Import** button allows you to upload a custom JSON file containing a list of configured accounts. Ensure that the JSON file includes accurate details, such as the **Account Name** and **Namespaces**, to enable successful import and mapping of accounts.

Once you import the file you get a success message as shown:

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


---

# 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.opsmx.com/opsmx-1/opsmx-context-engine/user-guide/environment-mapping.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.
