# Introduction

You can use our Footprint for Kotlin package for adding Footprint-powered onboarding flows to your application.

## Installation

Our SDK is published on MavenCentral and installation is simple. In your app's `build.gradle.kts` file, add the following line in the dependencies block:

```kotlin
dependencies {
    implementation("com.onefootprint.native_onboarding_components:onboarding_components-android:<VERSION>")
}
```

You should replace `<VERSION>` with the version number. We recommend always using the latest available version published on [MavenCentral](https://central.sonatype.com/artifact/com.onefootprint.native_onboarding_components/onboarding_components-android).

## Repository Configuration

When adding our SDK to your project, you may need to include an additional repository in your project's configuration. Add the following to your `settings.gradle.kts` file:

```kotlin
dependencyResolutionManagement {
    repositories {
        mavenCentral()
        maven { url = uri("https://maven.fpregistry.io/releases") }
    }
}
```

The additional repository is required due to one of our dependencies. Without this configuration, you may encounter dependency resolution errors during installation.

If you're using a project-level `build.gradle.kts`, you can alternatively add the repository there:

```kotlin
allprojects {
    repositories {
        mavenCentral()
        maven { url = uri("https://maven.fpregistry.io/releases") }
    }
}
```

## Permissions

In order to use the package your manifest must include `INTERNET` permission:

```xml
<uses-permission android:name="android.permission.INTERNET" />
```

## Minimum version requirements

Our onboarding flows require a `compileSdk` version of 35 or above and `minSdk` version of 26 or above in your app's gradle file.

If you're using older versions, please consider upgrading to ensure compatibility. Failure to meet these requirements could lead to unexpected issues or the package not working at all.