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


# 1. Getting the SDK 



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

1. [Installing Assets Plugin](https://docs.juspay.in/hyper-checkout/android/base-sdk-integration/getting-sdk#1.1.-Installing-Assets-Plugin)
2. [Installing Hypercheckout SDK](https://docs.juspay.in/hyper-checkout/android/base-sdk-integration/getting-sdk#1.2.-Installing-Hypercheckout-SDK)

Following sections describe how to complete above steps


### 1.1. Installing Assets Plugin



Hypercheckout SDK depends on certain assets 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.1.a. 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/" }
```

#### Kotlin Code Snippet:

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



### Step 1.1.b. 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'
```

#### Kotlin Code Snippet:

```kotlin
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'
```

#### Kotlin Code Snippet:

```kotlin
id 'hypersdk.plugin'
```



### 1.2. Installing Hypercheckout SDK



For using the services provided by Hypercheckout SDK, client needs to implement certain APIs exposed by the SDK. These APIs are available through the Hypercheckout SDK. It is a build time dependency which exposes certain classes for use across your application.

To install Hypercheckout 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/"
        }
```

#### Kotlin Code Snippet:

```kotlin
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"
}
```

#### Kotlin Code Snippet:

```kotlin
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** 