# Configure Environments source: https://developer.mastercard.com/donations/tutorial/how-to-install-and-configure-insomnia-tool/configure-environments/index.md ## Configure Environments {#configure-environments} The Mastercard plugin for Insomnia will add the authorization header for Mastercard APIs when the following environment variable `mastercard` is set: * Configuration ```Configuration { "mastercard": { "consumerKey": "000000000000000000000000000000000000000000000000!000000000000000000000000000000000000000000000000", "keyAlias": "keyalias", "keystoreP12Path": "/path/to/sandbox-signing-key.p12", "keystorePassword": "keystorepassword" } } ``` You can create multiple environments in your workspace to store different configurations. For example, create one for Sandbox and one for Production to have them store different key information. For your convenience, we prepared a simple workspace template with the above environment configurations for you to simply import into your Insomnia app. Go to the next step for instructions.