# Get Your Sandbox Credentials
source: https://developer.mastercard.com/community-pass-payment-apis/documentation/api-tutorials/get-sandbox-credential/index.md

This guide walks through the steps required to create a new MCPP APIs project, and to gain access to the Sandbox environment.

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

> * How to create a project in [Mastercard Developers Portal](https://developers.mastercard.com).
> * How to download the Sandbox consumer keystore file (Ex: `Test_Sandbox_Project-sandbox.p12`).
> * How to download client encryption keys (Ex: `community_pass_payment_apisClientEnc1613654178.pem`). The PEM file contains the public encryption key used for encrypting data sent to Mastercard APIs.
> * How to download Mastercard keys for decryption (Ex: `keyalias-encryption-mc.p12`).
> * How to set KeyAlias, Keystore password and share your Sandbox credentials within your team.

### Estimated time to complete this tutorial {#estimated-time-to-complete-this-tutorial}

> * 15-20 minutes

## Create New Project {#create-new-project}

To begin you should go to your [Mastercard Developers Portal](https://developers.mastercard.com)
dashboard, then click on the **My Projects** option in the menu and follow these steps:

![Create a New Project](https://static.developer.mastercard.com/content/community-pass-payment-apis/documentation/images/GetYourSandboxCredentials.PNG "Create a New Project")

1. Create a new project by clicking the **Create New Project** button in the upper right part of the screen.
2. From the dropdown list select the `Community Pass Payment APIs`.
3. Click Continue.
4. Enter a descriptive name for your project and click the Create My Project button.
5. You can optionally choose to invite other people to your project by selecting **Invite Team Members**. Invited members will have full access to the project.
6. Click Continue.

![Create New Project](https://static.developer.mastercard.com/content/community-pass-payment-apis/documentation/images/GetYourSandboxCredentials1.PNG "Create New Project")

## Get Sandbox OAUTH Credentials {#get-sandbox-oauth-credentials}

When the project is successfully created, the Sandbox.P12 access credentials will be available for download.

1. Click Download PKCS#12 Keystore to download a zip file containing the .p12 file required for OAuth authentication in Sandbox.

2. Click Continue.

3. Make a note of the 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.

4. Click Confirm and Continue to complete the Sandbox Setup process.
   ![Download Sandbox Key](https://static.developer.mastercard.com/content/community-pass-payment-apis/documentation/images/GetYourSandboxCredentials2.PNG "Download Sandbox Key")

5. You can find the consumer key in your newly created project (the long number under the Sandbox Keys area). To copy it you can use the **Actions** dropdown beside it. Select it and choose the 'copy consumer key' option.
   ![Consumer Key](https://static.developer.mastercard.com/content/community-pass-payment-apis/documentation/images/GetYourSandboxCredentials3.PNG "Consumer Key")

6. You can then download Client Encryption Keys by using the 'Actions' dropdown beside it. Select it and choose 'Download Encryption Key'. Now you can share the consumer key with your Mastercard representative via email.

![Download Encryption Key](https://static.developer.mastercard.com/content/community-pass-payment-apis/documentation/images/GetYourSandboxCredentials4.PNG "Download Encryption Key")
Note: Mastercard APIs use OAuth 1.0a with a request body hash as the security standard. The PKCS#12 keystore contains the private key used for signing requests. The key downloaded from our portal would have been generated inside your browser and will not be stored by Mastercard Developers. The public key matching the generated private key will be uploaded to Mastercard Developers for signature verification purposes as part of the process. Make sure to keep this file in a secure place.

### Congratulations {#congratulations}

You have successfully completed this tutorial and obtained Sandbox credentials to call Sandbox services for MCPP APIs.

### Next Steps {#next-steps}

Once your Mastercard representative has confirmed your access to Sandbox, please go through the [API Reference](https://developer.mastercard.com/community-pass-payment-apis/documentation/api-reference/index.md).
