---
page_source: https://juspay.io/sea/docs/express-checkout-sdk-global/capacitor/base-sdk-integration/getting-juspay-sdk
page_title: Getting Juspay SDK
---


## 1. Getting the SDK



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

1. [Installing Hyper SDK Capacitor](https://juspay.io/sea/docs/express-checkout-sdk-global/capacitor/base-sdk-integration/getting-juspay-sdk#1.1.-Installing-Hyper-SDK-Capacitor)
2. [Android Setup](https://juspay.io/sea/docs/express-checkout-sdk-global/capacitor/base-sdk-integration/getting-juspay-sdk#1.2.-Android-Setup)
3. [iOS Setup](https://juspay.io/sea/docs/express-checkout-sdk-global/capacitor/base-sdk-integration/getting-juspay-sdk#1.3.-iOS-Setup)

Following sections describe how to complete above steps


### 1.1. Installing Hyper SDK Capacitor




### Step 1.1.a. Install Hyper SDK Capacitor


Use the following command to install hyper sdk capacitor`npm install hyper-sdk-capacitor``npx cap sync`




### 1.2. Android Setup




### Step 1.2 Add the clientId ext property


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



#### Code Snippets: -

#### Capacitor Code Snippet:

```capacitor
allprojects {
    repositories {
        ....
        ....
        maven { url "https://maven.juspay.in/jp-build-packages/hyper-sdk/" }
    }
}
```



### 1.3. iOS Setup



To install Assets Plugin follow the below steps


### Step 1.3.a 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
post_install do |installer|

  
  # // Add iOS post-install script
  # // block:start:ios-post-install
  
 fuse_path = "./Pods/HyperSDK/Fuse.rb"
 clean_assets = false # Pass true to re-download all the assets
 if File.exist?(fuse_path)
   if system("ruby", fuse_path.to_s, clean_assets.to_s)
   end
 end
  # // block:end:ios-post-install
end

```



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


`pod install`




### Step 1.3.c 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
clientId = <your_client_id>
```
