# Setting Up source: https://developer.mastercard.com/doconomy-aland-index/tutorial/create-your-own-reference-app/step1/index.md ## Step 1: Setting Up {#step-1-setting-up} ### a) Pre-requisites {#a-pre-requisites} To complete this tutorial, you need: * JDK 11 or later. * IntelliJ IDEA (or any other IDE of your choice). * Mastercard Developers Account with access to Doconomy Aland Index. * Doconomy Aland Index Open API specification (Retrieve by clicking on 'Open Specification' on this [page](https://developer.mastercard.com/doconomy-aland-index/documentation/api-reference/index.md)). ### b) Create a Maven Project {#b-create-a-maven-project} In IntelliJ IDEA, create a new Maven project, which sets up your directory structure automatically. Provide ArtifactId and Project name. ### c) Add Resources {#c-add-resources} Add the Doconomy Aland Index Open API specification to your Maven project's resources folder. Add the generated p12 file to your Maven project's resources folder. (Generated by creating Sandbox Signing Key within your project in Mastercard Developers). Your Maven project directory should look as follows: ![Directory Structure](https://static.developer.mastercard.com/content/doconomy-aland-index/Images/directory-structure.PNG) ### d) Update pom.xml file {#d-update-pomxml-file} 1.Add the following plugin to your Maven project's **pom.xml** file to add OpenAPI Generator to your project. OpenAPI Generator generates API client libraries from OpenAPI Specifications. OpenAPI Generator provides multiple generators and library templates to support multiple languages and frameworks. You will be using the Java generator for this project. * Plugin ```Plugin org.openapitools openapi-generator-maven-plugin 3.3.4 Doconomy Aland Index REST Client generate ${project.basedir}/src/main/resources/openapi.yaml java src/gen/java/main true ``` 2.Add the following dependencies to your **pom.xml** file to add dependencies for the API client library generation and the Mastercard OAuth1 Signer library. Mastercard offers OAuth1 Signer Libraries which offer code helpers targeting the HTTP clients used by the different OpenAPI Generator Library templates. * Dependencies ```Dependencies 11 ${java.version} ${java.version} UTF-8 1.5.0 1.8.4 1.5.24 2.7.5 2.8.6 3.10 1.4.3 1.3.2 4.13 com.mastercard.developer oauth1-signer ${oauth1-signer-version} io.swagger swagger-annotations ${swagger-core-version} com.squareup.okhttp okhttp ${okhttp-version} com.squareup.okhttp logging-interceptor ${okhttp-version} com.google.code.gson gson ${gson-version} io.gsonfire gson-fire ${gson-fire-version} org.apache.oltu.oauth2 org.apache.oltu.oauth2.client 1.0.1 org.threeten threetenbp ${threetenbp-version} junit junit ${junit-version} com.mastercard.developer oauth1-signer ${oauth1-signer-version} ``` > Check out this page for more information on [Generating and Configuring a Mastercard API Client](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/#overview).