---
page_title: Adding Plugins
product: UPI TPAP SDK
platform: Cordova
page_source: https://juspay.io/in/docs/upi-tpap-sdk/cordova/getting-the-sdk/getting-sdk
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Adding Plugins



In order to use UPI In-app, the very first step is to install UPI-Inapp SDK into your application and add proper configurations. Following sections describe how to complete above steps


### 1. Installing Cordova Plugin




### Step 1.1 Install Cordova Plugin via NPM 


Run command `cordova plugin add hyper-sdk-plugin` in your Cordova project folder.




### 2. Installing Compile Dependency - Android



The minimum version of **cordova-android**  supported with HyperSDK is **10.0.0**  which uses androidx and AppCompatActivity.


### Step 2.1 Edit MerchantConfig.txt


Open `MerchantConfig.txt` file inside the `platforms/android/app/` directory of your project. Change client id to the one provided by the JUSPAY team. The MerchantConfig.txt contains a clientId which helps the plugin to download assets specific to your application.



#### Code Snippets: -

#### JavaScript Code Snippet:

```javascript
{"success":false,"message":"Failed to fetch snippet"}
```



### 3. Installing Compile Dependency - iOS



Follow the below steps


### Step 3.1 Add MerchantConfig.txt


Create a .txt file named `MerchantConfig.txt` inside the `platforms/ios` directory of your project. Add `clientId = your_client_id`to this file.

The MerchantConfig.txt contains a clientId which helps the plugin to download assets specific to your application.



#### Code Snippets: -

#### JavaScript Code Snippet:

```javascript
{"success":false,"message":"Failed to fetch snippet"}
```


---

## Complete Code Reference

The following code files are referenced in the steps above:

### cordova-snippets.txt

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [Integration Checklist](https://juspay.io/in/docs/upi-tpap-sdk/cordova/overview/integration-checklist)
- [Initiating the SDK](https://juspay.io/in/docs/upi-tpap-sdk/cordova/interaction-with-sdk/initiating-the-sdk)
