# 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, usersnames, 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](https://2905039365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHEKskLK6aXinV75Knl%2F-M4nq7dQ_E8fE2PmlXMR%2F-M4nsaSBmiM9zx2nGK-2%2Fimage.png?alt=media\&token=d9dbf8bd-ca31-4291-9484-89704fd0b6f8)
