# Tutorials and Guides source: https://developer.mastercard.com/eop-admin/documentation/tutorials-and-guides/index.md ## Guides {#guides} ### Quick Start Guide {#quick-start-guide} Getting started on Mastercard Developers is easy. You just need an account, then you can begin accessing documentation, and creating projects. We have provided a [Quick Start Guide](https://developer.mastercard.com/eop-admin/documentation/quick-start-guide/index.md) for you to follow. While following the guide, ensure that you select **Offers Merchant Content** when creating your project. ## Tutorials {#tutorials} ### Offers Merchant Content OAuth 2.0 authentication and first call {#offers-merchant-content-oauth-20-authentication-and-first-call} This tutorial describes how to install and configure the Mastercard Insomnia plugin, set up OAuth 2.0 authentication, and send your first successful Offers Merchant Content API request. [View tutorial](https://developer.mastercard.com/eop-admin/documentation/tutorials-and-guides/offers-merchant-content-authentication-first-call-tutorial/index.md) ### Generating a Mastercard API Client {#generating-a-mastercard-api-client} You can use open-source tools, such as the [OpenAPI Generator](https://openapi-generator.tech), in conjunction with the provided [API Reference](https://developer.mastercard.com/eop-admin/documentation/api-reference/index.md), to generate an API client. When used with the provided [client authentication libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/), and if applicable, [client encryption libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#client-libraries), this is an agile and powerful way to get started with real code to access the service. We have provided a tutorial that walks you through how to generate a Mastercard API client that includes integrating with our provided libraries. For the step-by-step tutorial, refer to [Generating and Configuring a Mastercard API Client](https://developer.mastercard.com/platform/documentation/getting-started-with-mastercard-apis/generating-and-configuring-a-mastercard-api-client/). ### Split image upload example {#split-image-upload-example} ```java int partCharsSize = 900000; byte[] imageBytes = readBytesFromResources("path/to/image.png"); String imageBytesBase64String = Base64.getEncoder().encodeToString(imageBytes); List parts = splitStringBySize(imageBytesBase64String, partCharsSize); ``` ```java List splitStringBySize(String imageBytesBase64String, int partCharsSize) { List parts = new ArrayList<>(); int length = imageBytesBase64String.length(); for (int i = 0; i < length; i += partCharsSize) { parts.add(imageBytesBase64String.substring(i, Math.min(length, i + partCharsSize))); } return parts; } ``` ## Next steps {#next-steps} * Refer to the [Reference App](https://developer.mastercard.com/eop-admin/documentation/reference-app/index.md) section for information on connecting to Offers Merchant Content. * To learn more about any error codes you receive, refer to [Code and Formats](https://developer.mastercard.com/eop-admin/documentation/code-and-formats/index.md).