# Quick Start Guide
source: https://developer.mastercard.com/pclo-presentment/documentation/quick-start-guide/index.md

Note: Mastercard supports OAuth 2.0 for authenticating application HTTP requests. Refer to the following resources for guidance and documentation:   

* [Offers for Publishers (Legacy) OAuth 2.0 authentication and first call tutorial](https://developer.mastercard.com/pclo-presentment/documentation/tutorials-and-guides/index.md)
* [Using OAuth 2.0 to Access Mastercard APIs](https://developer.mastercard.com/platform/documentation/authentication/using-oauth-2-to-access-mastercard-apis/)
* [OAuth 2.0 reference application on GitHub](https://github.com/Mastercard/oauth2-client-java): Customers are advised to update the specification file and certificates as instructed in the README.md file to ensure access and alignment with OAuth 2.0 requirements.
* [Offers for Publishers API](https://developer.mastercard.com/presentment/documentation/release-history/) updated documentation

<br />

Support for OAuth 1.0a authentication remains available.

## Overview {#overview}

Offers for Publishers provides a set of APIs that let you consume data in a variety of ways for efficient and secure querying and updating. This tutorial guides you through the process of onboarding and being able to consume this data.
> **Follow this guide to learn:**
>
> * How to create a project for the service.
> * How to generate your credentials and API client.
> * How to get access to Sandbox and Production.

## Accessing the API {#accessing-the-api}

1. Navigate to [Mastercard Developers](https://developer.mastercard.com/) and select **Sign up** to create an account.
2. Activate your account by opening the link sent to your email address, and log in.

## Generate your Credentials {#generate-your-credentials}

To generate your Sandbox and Production credentials, you must create a new Mastercard Developers project. Generating Sandbox credentials gives you access to our Sandbox, which has rich, mocked data, that helps you understand the API.

1. Create a project on your projects page.
2. Name your project.
3. Indicate whether you are creating a project on behalf of a customer.

Note: Check "yes" if you are creating an API integration project for a customer. For example, you could be an integrator, a processor, or a service provider and the customer could be a merchant, issuer, or acquirer.

4. Provide the customer company name and customer company address (if applicable).
5. Select **Offers for Publishers** for API service.
6. Provide the commercial countries for the project. This field represents where your customer is doing business.

Note: If you are creating a project for a customer, the commercial countries represent where your customer is doing business.

7. Download, and keep safe, your PKCS#12 (`.p12`) keystore file.
8. Create a key alias and keystore password, note these values.
9. Save your Sandbox credentials.
10. Once you complete this flow, you land on the Project page. From the Project page, take note of your consumer key and begin testing.

Note: Testing requires a Financial Institution Identifier, called an f_id, to specify the platform and configuration instance. For initial testing, you can use the Sandbox f_id, `999999`. An official f_id is assigned by Mastercard during the implementation phase.

## Integrate {#integrate}

### Generate Your Own API Client {#generate-your-own-api-client}

1. Navigate to the API documentation page.
2. Download the API specification (OpenAPI or Swagger).
3. Generate and configure an API client for this API.

## Go-Live {#go-live}

After you have tested your implementation in our Sandbox environments, it is time to **Move to Production**.

### Steps to Moving to Production {#steps-to-moving-to-production}

1. Within your project, select **Request Production Access**.
2. Enter your Production key alias and keystore password.
3. Save your key alias and keystore password for future reference.
4. Confirm and download your Production keys.

Note: Production Credentials are generated instantaneously, but they still need to be approved for Production environment access before you can go live. Once your Production access request has been reviewed, you receive a notification confirming your access has been approved or denied.

## Next Steps {#next-steps}

Now that you have access to the service, you can begin testing. Proceed to the [Use Cases](https://developer.mastercard.com/pclo-presentment/documentation/use-cases/index.md) section to learn about the supported use cases.
