# 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}

### 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/).

### Example of splitting the large image and upload it by parts {#example-of-splitting-the-large-image-and-upload-it-by-parts}

```java
    int partCharsSize = 900000;
    byte[] imageBytes = readBytesFromResources("path/to/image.png");
    String imageBytesBase64String = Base64.getEncoder().encodeToString(imageBytes);
    List<String> parts = splitStringBySize(imageBytesBase64String, partCharsSize);
```

```java
    List<String> splitStringBySize(String imageBytesBase64String, int partCharsSize) {
      List<String> 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).
