---
page_source: https://juspay.io/in/docs/ec-headless/android/base-sdk-integration/getting-sdk
page_title: 1. Getting SDK
---


## 1. Getting the SDK



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

1. [Installing Assets Plugin](https://docs.juspay.in/ec-headless/android/base-sdk-integration/getting-sdk#1.1.-Installing-Assets-Plugin)
2. [Installing Express Checkout SDK](https://docs.juspay.in/ec-headless/android/base-sdk-integration/getting-sdk#1.2.-Installing-Express-Checkout-SDK)

Following sections describe how to complete the steps above -


### 1.1. Installing Assets Plugin



The SDK depends on certain assets/files to function. These are available over the air and are supposed to be present while building the SDK. The Assets Plugin is a build time dependency that downloads all required assets and ensures the availability of the latest assets at build time.

To install Assets Plugin follow the below steps


### Step 1.1a Add Assets Plugin maven url


The maven URL specifies from where the assets plugin should be downloaded. This is supposed to present inside the `buildscript` of your application



#### Code Snippets: -

#### Java Code Snippet:

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



### Step 1.1b Add Assets plugin classpath


Adding classpath to buildscript dependencies helps build tool load the assets plugin. This also resides inside `buildscript`.



#### Code Snippets: -

#### Java Code Snippet:

```java
classpath 'in.juspay:hypersdk.plugin:2.0.6'
```



### Step 1.1c Apply Assets plugin


This step will ensure that assets plugin is used as a plugin inside your application build cycle. Ensure you apply the plugin inside your `app/build.gradle`



#### Code Snippets: -

#### Java Code Snippet:

```java
id 'hypersdk.plugin'
```



### 1.2. Installing Express Checkout SDK



For using the services provided by Express Checkout SDK, client needs to implement certain APIs exposed by the SDK. The SDK is a build time dependency which exposes certain classes for use across your application.

To install Express Checkout SDK follow the below steps


### Step 1.2.a Add SDK maven url


The maven url specifies from where the SDK dependency should be downloaded. It should be present inside the `allProjects/repositories` section of your project build.gradle

> **Warning**
> Make sure it is added to project dependency section. **(eg: build.gradle (Project:ProjectName))** 





#### Code Snippets: -

#### Java Code Snippet:

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



### Step 1.2.b Add SDK implementation


To inject SDK as dependency in your application, include it in your `application build.gradle` dependencies



#### Code Snippets: -

#### Java Code Snippet:

```java
hyperSdkPlugin {
    clientId = "<CLIENT_ID>"
    sdkVersion = "2.1.20"
}
```


**After adding Assets Plugin and Hyper SDK to your project, please ensure you do a gradle sync and clean build** 