# Installing Insomnia Rest to Open Banking Connect API
source: https://developer.mastercard.com/open-banking-connect/documentation/tutorials-and-guides/insomnia-tutorial/index.md
This tutorial covers installing the Insomnia Rest application to the Open Banking Connect APIs.
## Install Insomnia and Mastercard Auth Plugin {#install-insomnia-and-mastercard-auth-plugin}
* Download Insomnia for your OS from \[\]
* Install and launch the application. You should see the following user interface.
*NOTE: If you already have Insomnia app installed, please make sure you update it to version 5.15.0 or above.*

[Mastercard auth plugin](https://insomnia.rest/plugins/insomnia-plugin-mastercard)
## Create a new Open Banking workspace {#create-a-new-open-banking-workspace}
1. Import API spec from the URLs:
* AISP ()
* PISP ()
2. Select Import/Export

3. Select Import from URL

4. Copy the API Spec URL

5. Create a New Workspace

## Create environments {#create-environments}
In Insomnia add the following configuration by selecting "Manage Environments", add the json code to the "base environment", and then fill in the consumerKey, keyAlias, keystoreP12Path, and keystorePassword. Refer to [Insomnia collection - create environmnent](https://developer.mastercard.com/platform/documentation/developer-tools/insomnia-collection/#step-4---configure-environment) for details.
### Manage environments {#manage-environments}

### JSON Base environment code {#json-base-environment-code}
```json
{
"base_path": "/openbanking/sandbox/connect/api",
"base_url": "{{ scheme }}://{{ host }}{{ base_path }}",
"host": "api.mastercard.com",
"mastercard": {
"consumerKey": "YOUR_CONSUMER_KEY",
"keyAlias": "YOUR_KEYALIAS",
"keystoreP12Path": "YOUR_KEYSTORE_P12_PATH",
"keystorePassword": "YOUR_KEYSTORE_PASSWORD"
},
"scheme": "https"
}
```
### Manage environment keys {#manage-environment-keys}

## Send a request {#send-a-request}
Choose a request from the right-hand side and click the **Send** button to submit the request and get the response back.

## Thank You {#thank-you}
**Congratulations! You have completed this tutorial.**
Return to the [Knowledge Base](https://developer.mastercard.com/open-banking-connect/documentation/tutorials/index.md)
Return to [Documentation](https://developer.mastercard.com/open-banking-connect/documentation/index.md)