# Configuring Environment Variables
source: https://developer.mastercard.com/account-to-account-commerce-for-csp/tutorial/insomnia/step_3/index.md

## Configuring Environment Variables {#configuring-environment-variables}

Mastercard provides a set of pre-defined values that must be used before executing the test scripts. These values are available in the A2A_ACCREDITATION_TEST_ENVIRONMENT_Sandbox in "Collection Environments" section.
Few changes are also required to be made before proceeding to executing the test cases.

1. Navigate to the Environment section and click on icon next to Collection Environments to open the "Manage Environments" page.
   ![EnvironmentVariable](https://static.developer.mastercard.com/content/account-to-account-commerce-for-csp/uploads/insomniaslides/configure1.png)

2. Select A2A_ACCREDITATION_TEST_ENVIRONMENT_Sandbox environment from left navigation and toggle on "Table View" option to see the environment variables in a tabular format.
   ![Tableview](https://static.developer.mastercard.com/content/account-to-account-commerce-for-csp/uploads/insomniaslides/tableview.png)

3. Modify the CSP value to the one received from Mastercard Customer Implementation Team.
   ![cspid](https://static.developer.mastercard.com/content/account-to-account-commerce-for-csp/uploads/insomniaslides/cspId.png)

4. Find the **Mastercard** environment variable and click the "Click to edit" option.
   ![Manageenvironments](https://static.developer.mastercard.com/content/account-to-account-commerce-for-csp/uploads/insomniaslides/manageenvironments.png)

5. At the bottom left of the screen, click the "Beautify JSON" button and update the paths for "signPrivateKey" with signcertificate.key and "signVerificationCertificate" with signverificationcertificate.pem, which are used for JWS signing and verification. Ensure that the paths use **forward slashes** . Click Done.
   ![editvalue](https://static.developer.mastercard.com/content/account-to-account-commerce-for-csp/uploads/insomniaslides/editmastercardvalue1.1.png)

6. Close the environment file.

