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

![](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FaSsGdwYI9qOnzDbYXgmV%2Fimage.png?alt=media\&token=22a1356e-c5e3-46bf-99ea-7617b51692b1) ![](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FH9NYaXCrsg1xQlo9P4sA%2Fimage.png?alt=media\&token=c3224d10-73b0-4c29-8744-50d0c814d918)

## 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](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2F60EymIIzsp0zcxy633XZ%2Fimage.png?alt=media\&token=2f2a3ab4-d150-4ed7-9878-91433b4a930e)

{% 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**](https://portone.gitbook.io/docs-en/ready/2.-pg).
{% 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](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FoysMpArKEbZuouhXnA3p%2Fimage.png?alt=media\&token=9d33b95e-affd-4085-8d9d-9007938ff9c2)

![Check Merchant ID/REST API Key/ REST API Secret](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2Fkde4L6xvfH9vXPHELkj7%2Fimage.png?alt=media\&token=1b474b0b-25d4-412b-80d6-e1b90ad0759e)

{% 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 %}
