# Global Variables

*Global Variables* enables users to configure Exivity system-wide variables which can be used in any Extractor or Transformer script. This in turn allows users to decouple instance specific Transformer or Extractor variables (i.e. hostnames, usernames, passwords, import paths, etc.) from their respective scripts. A typical use case would be to use an identical Extractor in both a test and production environment, while the data source consists of a different hostname, username and password.

{% hint style="warning" %}
A Global Variable is required to be unique within the entire Exivity instance
{% endhint %}

### Creating a Default environment

In order to create a *Global Variable*, first browse to the *Administration > Settings* menu and select the *Variable* tab. In case this is the first time this feature is being used, an initial *Environment* will need to be created using the **Create environment** button:

![Creating a new environment](/files/-M4nsaSBmiM9zx2nGK-2)


---

# 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://olddocs.exivity.io/administration/settings/global-variables.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.
