# Using the Mastercard API Workspace Template source: https://developer.mastercard.com/donations/tutorial/how-to-install-and-configure-insomnia-tool/using-mc-api-workspace-temp/index.md ## Using the Mastercard API Workspace Template {#using-the-mastercard-api-workspace-template} ### Manage Environments {#manage-environments} * In the **Environments** dropdown menu, select the appropriate sub environment. ![Environments](https://static.developer.mastercard.com/content/donations/uploads/insomnia-envs.png) * You can see the Environment variables with placeholder values. We need to fill in the real values with your API key. ![Environment Variable](https://static.developer.mastercard.com/content/donations/uploads/insomnia-envs-var.png) Tip: There is an environment variable **host** that keeps the value of the base url of Mastercard API endpoints: * Sandbox: * Production: Using the environment variable, you can write your request URL as `{{host}}/resource` instead of the full URL. Depending on the environment selected, the request is sent to the specific host.