# Create a Sandbox Project
source: https://developer.mastercard.com/carbon-calculator/documentation/tutorials-and-guides/sandbox-access-tutorial/index.md

This guide walks through the steps required to create a new Carbon Calculator API project and how to gain access to the Sandbox environment.
Note: **Sandbox access requires approval.** After submitting your project, the Mastercard team will review and provision your sandbox access. This typically takes **1--3 business days**.

* If you have not received access after 3 business days, email [carboncalculator@mastercard.com](mailto:carboncalculator@mastercard.com) with the subject: `[SANDBOX ACCESS] Project Access Request - <Your Project Name>`.
* For urgent requests, contact your Mastercard representative directly.

## Pre-requisites {#pre-requisites}

The following values are required when creating a project in the sandbox.

#### If you want to opt for Option 1: {#if-you-want-to-opt-for-option-1}

* Customer ID (CID) - Make sure to use a **valid Customer ID** assigned by Mastercard, which remains the same across all Mastercard systems.
* BIN Range
* Legal Name

#### If you want to opt for Option 2.a: {#if-you-want-to-opt-for-option-2a}

* Customer ID (CID) - Make sure to use a **valid Customer ID** assigned by Mastercard, which remains the same across all Mastercard systems.
* Legal Name

#### If you want to opt for Option 2.b: {#if-you-want-to-opt-for-option-2b}

* Customer ID (CID) - Make sure to use a **valid Customer ID** assigned by Mastercard, which remains the same across all Mastercard systems.
* Legal Name
* **Sender ID** - Customer logical name or logical address of the service provider which has been configured in NGFT(Next Gen File Transfer).

Note: Ensure that a BIN is not mapped to multiple Customer IDs (CID).

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

* How to create Mastercard Developers Sandbox project.
* How to configure it.

### Create a project {#create-a-project}

* To begin you should go to your dashboard, you can do this by clicking on the [My Projects](https://developer.mastercard.com/dashboard) option in the menu.
* You can create a new project by clicking the **Create New Project** button, in the upper right portion of the screen, as shown in the screenshot below. ![Create Project](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/create_project.png)

### Add Carbon Calculator API to your project {#add-carbon-calculator-api-to-your-project}

* Click on the "Choose API" dropdown list and select the "Carbon Calculator" option.
* Click the **Continue** button as shown in the screenshot. ![Select API](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/select-api.png)

### Name your project {#name-your-project}

* Enter a descriptive name for your project and click the **Continue** button as shown in the screenshot below.
* You can optionally choose to invite other people to your project by selecting the "Invite Team Members" option. Invited members will have full access to the project. ![Provide Project Name](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/create_project_name.png)

### Configure your project {#configure-your-project}

* Enter your "Customer Name". This does not have to be a legal name. For example, "ABC Bank".
* Enter your "Customer ID (CID)". This is a unique Service Provider identifier assigned by Mastercard and remains the same across all Mastercard systems.
* Enter the comma separated "BINs" you want to use for Carbon Calculator. For example, "534403, 518145, 518152, 5403, 5424".
* Enter your "Sender Id". This is the customer logical name or logical address of the service provider which has been configured in NGFT(Next Gen File Transfer). For example, "filebasedscoring@service_provider_name".
* Enter your "Cardholder Base". This is the total number of card holders for whom the cards have been issued. This can be updated later using Update [Service Provider Details API](https://developer.mastercard.com/carbon-calculator/documentation/use-cases/update_service_provider_details/index.md).
* Click the **Continue** button as shown in the screenshot once everything is filled. ![Provide Project Name](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/project_details.png)

### Sandbox OAUTH credentials {#sandbox-oauth-credentials}

* When the project has successfully created the Sandbox .P12 access credentials will be available for download as shown in the screenshot below.
* Click the **Download PKCS#12 Keystore** button to download a zip file containing the .p12 file required for OAuth authentication in Sandbox.
* Click **Continue**.

Note:   

* **OAuth Key** - When you call our APIs you will need to include an OAuth1.0a Authentication header. You use the private part of this API Signing Key to generate this OAuth header, so that the Mastercard API server can authenticate your access to the APIs.
* **Consumer Key** - Consumer Key is associated with the API Signing Key and is required in the OAuth authorization header. Consumer keys are 97-character identifiers for client applications consuming Mastercard APIs. The consumer key appears in the OAuth1.0a authorization header sent with each request.
* **Encryption Key** - Mastercard will use the public part of this encryption key to encrypt request payloads containing payment card credentials. You will need the corresponding private part to decrypt these payloads.
Note: You are required to capture Keystore password and key alias shown on the screen. The keystore password is used in conjunction with the .p12 file and Client ID for OAuth authentication. Click Confirm and Continue to complete the Sandbox setup process. ![Provide Project Name](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/certificate.png) ![Provide Project Name](https://static.developer.mastercard.com/content/carbon-calculator/Images/tutorials/certificate_2.png)

Contact the [API Support](mailto:apisupport@mastercard.com) team or email at [carboncalculator@mastercard.com](mailto:carboncalculator@mastercard.com) with any questions or feedback.
