# Javascript SDK

You can use the **i'mport JavaScript SDK** to open the payment or identity verification window from your website or app. For **version history** and notable changes in each version, refer to the [**Release Notes**](/docs-en/sdk/javascript-sdk/sdk-release-note.md).<br>

### Loading SDK Library <a href="#sdk-library" id="sdk-library"></a>

To use the **i'mport JavaScript SDK**, you must first load the library on the page as shown below. It is recommended to load it from the CDN (<mark style="color:purple;">**<https://cdn.iamport.kr/js/iamport.payment-{SDK-latest-version}.js>**</mark>). When the library is loaded, you can call **IMP** functions by accessing the **IMP** global object as a property of the **window** object.

{% code title="HTML" %}

```html
<!-- jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js" ></script>
<!-- iamport.payment.js -->
<script type="text/javascript" src="https://cdn.iamport.kr/js/iamport.payment-{SDK-latest-version}.js"></script>
```

{% endcode %}

{% hint style="warning" %}
You **must install jQuery 1.0 or later version**.
{% endhint %}

> #### **If you cannot use CDN**, use the following: [https://service.iamport.kr/js/iamport.payment-](https://service.iamport.kr/js/iamport.payment-1.2.0.js){SDK-latest-version}[.js](https://service.iamport.kr/js/iamport.payment-1.2.0.js)


---

# 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/sdk/javascript-sdk.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.
