# Insomnia Collection
source: https://developer.mastercard.com/cross-border-services/documentation/developer-tools/insomnia-collection/index.md

## Insomnia Collection {#insomnia-collection}

Use Insomnia to test the Mastercard Cross-Border Services APIs with a ready-made workflow for importing requests, configuring environments, and validating calls in Sandbox or Production. It is the recommended tool for first-time setup and testing on Sandbox.

For the full step-by-step guide, follow the [How to install and configure the Insomnia Tool](https://developer.mastercard.com/cross-border-services/documentation/tutorials/insomnia-tutorial/index.md) tutorial for Cross-Border Services.

## Overview {#overview}

The Insomnia guide covers how to set up Cross-Border Services API requests in Insomnia, including workspace import options, environment configuration, authentication, and request execution.

Download the Cross-Border Services Insomnia collection and import it into Insomnia to get started:
[cross_border-insomnia.yaml](https://static.developer.mastercard.com/content/cross-border-services/swagger/cross_border-insomnia.yaml) (30KB)

## Prerequisites {#prerequisites}

* Access to a Mastercard Developers project with the credentials required by the API you are testing.
* Insomnia installed on your machine.
* The correct authentication and encryption details for the service you want to call.

## What you will find {#what-you-will-find}

* Import guidance for the Cross-Border Services collection and workspace templates.
* Environment setup for OAuth 1.0a, OAuth 2.0, and JWE-enabled flows.
* Practical steps for sending and validating requests in Sandbox and Production.
