# Setup the Postman Collection
source: https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/use-postman-for-mastercard-checkout-services-apis/step1/index.md

## 1. Setup the Postman Collection {#1-setup-the-postman-collection}

Setting up a Postman collection for Mastercard's APIs can be done in 2 different ways:

### 1.1 Forking Mastercard's Collections {#11-forking-mastercards-collections}

Fork one of the collections hosted in the official [Mastercard Postman workspace](https://www.postman.com/mastercard/mastercard-checkout-workspace/overview).
1. Navigate to the [Postman-Collection](https://developer.mastercard.com/mastercard-checkout-solutions/documentation/postman-collection/index.md) page in MCS documentation and click **Run in Postman** . You will land on [Mastercard Postman workspace](https://www.postman.com/mastercard/mastercard-checkout-workspace/overview) for mastercard-checkout-service APIs. ![Fork a collection in Mastercard Checkout Service Workspace](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/images/postman-fork-collection.png "Fork collection in MACS")
2. Click on ellipsis (...) adjacent to the API's collection and select **Create a fork**.
3. In the Fork collection section,   
   * Add a label to your fork.
   * Select the workspace in which you want to create the fork.
   * From Environments to fork, select *Mastercard API Sandbox*.
   * Click **Fork Collection** . This will fork the Mastercard API to your personal Postman workspace. ![Fork a collection in Mastercard Checkout Service Workspace](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/images/postman-fork-collection-label.png "Fork collection in MACS")

### 1.2 Importing an API specification {#12-importing-an-api-specification}

Import one of Mastercard's API specifications into your local workspace.
1. Download the Open API specification (.YAML) file from API reference page.
   ![Import an API specification in Mastercard Checkout Service Workspace](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/images/postman-import-api-specs.png "Import an API specification in MACS")

2. In your Postman application, click **Import** .
   ![Postman Import](https://static.developer.mastercard.com/content/mastercard-checkout-solutions/documentation/images/postman-import-api-specs-details.png "Import an API specification in MACS")

3. In the Import dialog box, under File tab, click **Upload Files**.

4. Confirm your selection and click **Import**. Postman automatically creates a collection from this file.

Next, you must [create an environment](https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/use-postman-for-mastercard-checkout-services-apis/step2/index.md) to use with the imported API specifications.
