---
page_source: https://juspay.io/in/docs/upi-plugin-sdk/cordova/getting-the-sdk/getting-sdk
page_title: Adding Plugins
---


## 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":"No Data found for the given path"}
```



### 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":"No Data found for the given path"}
```
