# Pre-Preparations

## **Register App** <a href="#prepreparationsforonestoreiap-registerapp" id="prepreparationsforonestoreiap-registerapp"></a>

For details related to product registration, please refer to the guide below.

* [**Registering a Product**](https://onestore-dev.gitbook.io/dev/eng/docs/apps)<br>

## **Check License Key (public key) and OAuth Credential**

In the "Common Information > License Management" menu, you can check the license key and OAuth authentication information for server APIs.

* License key: Used for confirming whether the IAP history sent by ONE store is forged or falsified.
* OAuth credential: Used to authenticate and use the ONE store server API.

## **Download Sample App** <a href="#prepreparationsforonestoreiap-downloadsampleapp" id="prepreparationsforonestoreiap-downloadsampleapp"></a>

You can download the IAP sample app from Github.

* [Download ONE store IAP API V7 (SDK V21) Sample App](https://github.com/ONE-store/onestore_iap_release)

## **Add IAP Library** <a href="#prepreparationsforonestoreiap-addiaplibrary" id="prepreparationsforonestoreiap-addiaplibrary"></a>

{% hint style="warning" %}
The ONE Store IAP SDK repository will be migrated to **Maven Central starting April 1, 2026**.

For more details, please refer to the [Notice on Migration of ONE store IAP SDK Repository](https://dev.onestore.net/devpoc/support/news/noticeView.omp?noticeId=33714)
{% endhint %}

Add the ONE Store billing library dependency to the project’s top-level `build.gradle` file.

```gradle
allprojects {
    repositories {
        ...
        mavenCentral() 
    }
}
```

Add ONE store payment library dependencies to the app's `build.gradle` file.

```gradle

dependencies {
    implementation "com.onestorecorp.sdk:sdk-iap:21.04.00"
}

```

## **Install the ONE store app** <a href="#prepreparationsforonestoreiap-installtheonestoreapp" id="prepreparationsforonestoreiap-installtheonestoreapp"></a>

Developers or users need the ONE Store app to use ONE Store in-app purchases.

* [**ONE Store App Download Guide**](https://onestore-dev.gitbook.io/dev/eng/policy/download)
