---
page_title: 1. Getting SDK
product: EC Headless
platform: Capacitor
page_source: https://juspay.io/in/docs/ec-headless/capacitor/base-sdk-integration/getting-sdk
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/ec-headless/llms.txt
---


## 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://docs.juspay.in/ec-headless/capacitor/base-sdk-integration/getting-sdk#1.1.-Installing-Capacitor-Plugin)
2. [Android Setup](https://docs.juspay.in/ec-headless/capacitor/base-sdk-integration/getting-sdk#1.2.-Android-Setup)
3. [iOS Setup](https://docs.juspay.in/ec-headless/capacitor/base-sdk-integration/getting-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
{"success":false,"message":"Failed to fetch snippet"}
```



### 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
{"success":false,"message":"Failed to fetch snippet"}
```



### 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
{"success":false,"message":"Failed to fetch snippet"}
```


---

## Complete Code Reference

The following code files are referenced in the steps above:

### build.gradle

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

### Podfile

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

### MerchantConfig.txt

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


---

## See Also

- [Pre-Requisites](https://juspay.io/in/docs/ec-headless/capacitor/overview/pre-requisites)
- [2. Creating a Customer](https://juspay.io/in/docs/ec-headless/capacitor/base-sdk-integration/creating-a-customer)
