---
page_source: https://juspay.io/in/docs/upi-plugin-direct-psp/android/base-integration/installing-the-sdk
page_title: Installing the SDK
---


## Installing the SDK



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

To install the SDK follow the below steps:


### Step 1 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
{"success":false,"message":"No Data found for the given path"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"No Data found for the given path"}
```



### Step 2 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
{"success":false,"message":"No Data found for the given path"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"No Data found for the given path"}
```



### Step 3 (Optional) Add Shimmer


This is required only if shimmer effect is to be used in your application.



#### Code Snippets: -

#### Java Code Snippet:

```java
{"success":false,"message":"No Data found for the given path"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"No Data found for the given path"}
```



### For Sandbox environment



To run UPI in sandbox environment. Follow these additional steps:


### Step 4 Add secure component


Include the secure component dependency in your `application build.gradle` under dependencies section.



#### Code Snippets: -

#### Java Code Snippet:

```java
{"success":false,"message":"No Data found for the given path"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"No Data found for the given path"}
```



### Step 5 Add configurations block


Add following block below the dependencies section in `application build.gradle`.



#### Code Snippets: -

#### Java Code Snippet:

```java
{"success":false,"message":"No Data found for the given path"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"No Data found for the given path"}
```



###   Sync Project


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



