# Exporting and Importing Variable Groups

## Exporting Variable Groups

Exporting variable groups allows for easy transfer to other systems or environments, provides backups for restoration, ensures consistency across different setups (like development and production), and enables reuse of common variable sets, enhancing portability, backup, consistency, and efficiency.

To export a variable:

1. Navigate to the variable group that you want to export.
2. Click the **Ellipsis** icon on the right end of the variable group and, from the drop-drown list that appears, select **Export**.

The variable group is now exported as a single YAML file, and you can download it into your system, update it, and import the updated file as a new variable group as required.

## Importing Variables

To import a variable:

1. Navigate to the variable group that you want to export.
2. Click the **Ellipsis** icon on the right end of the variable group and, from the drop-drown list that appears, select **Import**.
3. Use the Import Variable Group modal that appears to select the YAML file containing the variable group that you want to import.\
   Details associated with the imported variable group appear below the list of existing variable groups. Review and update as required.


---

# 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.platformnx.com/working-with-applications/managing-variables/exporting-and-importing-variable-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.
