# 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**](/dev/eng/docs/apps.md)<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**](/dev/eng/policy/download.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/eng/tools/billing/v21/pre.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
