---
page_title: 1. Getting SDK
product: Hypercheckout
platform: Capacitor
page_source: https://juspay.io/in/docs/hyper-checkout/capacitor/base-sdk-integration/getting-sdk
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/hyper-checkout/llms.txt
---


## Getting the SDK



In order to use Payment Page, the very first step is to install Hyper SDK into your application and add proper configurations. This has three steps to it:


### 1. Installing Hyper SDK Capacitor




### Step 1.1. Install Hyper SDK Capacitor


Use the following command to install hyper sdk capacitor

`npm install hyper-sdk-capacitor``npx cap sync`




### 2. Android Setup




### Step 2.1 Substep


Add maven url in root `build.gradle`



#### Code Snippets: -

#### Capacitor Code Snippet:

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



### Step 2.2 Updating Client ID



#### **Updating Client ID (v3.0.0 and above)** 



Add the clientId ext property in root(top) `build.gradle`

This is the same clientId present earlier in the `MerchantConfig.txt` file.

Optionally, you can also provide an override for base SDK version present in plugin (the newer version among both would be considered).


#### **Updating Client ID (v2.0.x) [Deprecated]** 



Place the `MerchantConfig.txt` file alongside the root(top) `build.gradle` file. The contents of the file should be as follows.

`clientId = <clientId shared by Juspay Team>`



#### Code Snippets: -

#### Capacitor Code Snippet:

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



3. iOS Setup

To install Assets Plugin follow the below steps


### Step 3.1 Add MerchantConfig.txt


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

Create a .txt file named `MerchantConfig.txt` inside the app directory of your project. Add `clientId = your_client_id`to this file. Please note that the file has to added in the top directory of your app



#### Code Snippets: -

#### Capacitor Code Snippet:

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



### Step 3.2 Add Post Install Script to Podfile


This Ruby Script will download all the latest assets required for proper functioning of your EC SDK integration



#### Code Snippets: -

#### Capacitor Code Snippet:

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



### Step 3.3 Run the following command inside the ios folder of your project


`pod install`



---

## Complete Code Reference

The following code files are referenced in the steps above:

### build.gradle

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

### MerchantConfig.txt

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

### Podfile

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


---

## See Also

- [Webhooks](https://juspay.io/in/docs/hyper-checkout/capacitor/base-sdk-integration/webhooks)
- [2. Initialize SDK](https://juspay.io/in/docs/hyper-checkout/capacitor/base-sdk-integration/initialize-sdk)
