# Setup

## 1. Create an i'mport account

{% hint style="info" %}
For payment integration, you must first create an account from the i'mport Admin [**Sign Up**](https://admin.iamport.kr) page.

You can sign up for **free without a contract**.
{% endhint %}

<details>

<summary><strong>Create an i'mport account now</strong></summary>

Just need to provide your "**email address"**.

Use a “**strong password**" to protect it from unauthorized access.

</details>

Click **Sign up** from the pages below to create an account.

![](/files/WMtys8kX3kj6FmSCJfPJ) ![](/files/eZnbCqaI93HmecqZ3J9h)

## 2. Set up PG

After creating an i'mport account, go to the Admin page and click **Payment integration** **->** **Test settings** tab and select the target PG.

You can configure PG-specific test settings from the **Test settings** tab.

![Payment integration -> Test settings](/files/nJnuYymVsGU8fdrLWItD)

{% hint style="info" %}
**Test settings and live account settings** for each PG are **different.** For detailed information about each PG settings, go to [**Set up PG**](/docs-en/ready/2.-pg.md).
{% endhint %}

## 3. Check integration settings

You can check the integration settings required for payment window integration and API calls.

1. Log in to [**i'mport Admin Console**](https://admin.iamport.kr) -> **Merchant account** -> Select **My ID - API Keys**&#x20;
2. Check your **Merchant ID/REST API Key/REST API Secret**.

{% hint style="danger" %}
Since this is **sensitive data** that can be used to **manipulate payment details**, be sure to protect it from unauthorized access.
{% endhint %}

![Log in to i'mport Admin Console -> Merchant account -> Select My ID - API Keys](/files/8AgefP7NCOULOOCyj3Rs)

![Check Merchant ID/REST API Key/ REST API Secret](/files/gd3ianJ6VcqwK5eFYj9m)

{% tabs %}
{% tab title="Merchant ID" %}

* A **unique value assigned to each ChaiPort Admin console account**.
* A unique code used to **initialize the object** when calling the payment window.
* Provide this ID when making a **technical inquiry** for a faster response.
  {% endtab %}

{% tab title="REST API Key" %}

* A value required to request an **access token** for an API call.
* Take **special care to protect it from unauthorized access**.
  {% endtab %}

{% tab title="REST API Secret" %}

* A value required to request an **access token** for an API call.
* The value can be reissued, and periodic reissuance is recommended for enhanced security.
* Take **special care to protect it from unauthorized access**.
  {% endtab %}
  {% endtabs %}


---

# 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://portone.gitbook.io/docs-en/ready.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.
