# Step 2: Dependency

***

Integration of our SDK into your Project

`currentVersion = 6.1.0`

{% tabs %}
{% tab title="Kotlin DSL" %}

#### KotlinDSL - App build.gradle.kts and v**ersion catalog** (gradle/libs.versions.toml) <a href="#kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions" id="kotlindsl---app-buildgradlekts-sans-le-catalogue-de-versions"></a>

**Version catalog**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#catalogue-de-versions)

```java
[versions]
sfbx = "${currentVersion}"

[libraries]
sfbx = { group = "io.sfbx.appconsent", name = "unifiedsdk", version.ref = "sfbx" }
```

**build.gradle.kts**[**​**](https://docs.sfbx.io/fr/configuration/notice-implementation/android/dependency#buildgradlekts)

```java
dependencies { 
    implementation(libs.sfbx)
}
```

{% endtab %}

{% tab title="Groovy" %}
{% hint style="info" %}
Depending on your project configuration, implement the dependency in your own way
{% endhint %}

**Groovy**  - **App build.gradle**

```groovy
dependencies { 
    implementation 'io.sfbx.appconsent:unifiedsdk:${currentVersion}' 
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
If your project does not yet use [Jetpack Compose](https://developer.android.com/jetpack/compose) (*Google's official UI toolkit for Android*), make sure to also add the following dependencies, which are required by our SDK:

```kotlin
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.material.icons)
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.runtime)
```

Versions are intentionally omitted: the appropriate Compose versions to import depend on your own project configuration (Kotlin version, `compileSdk`, AGP). Please refer to the [official compatibility matrix](https://developer.android.com/jetpack/androidx/releases/compose-kotlin) to pick the right ones.

*This manual dependency will go away in a future release — we'll handle this configuration automatically very soon.*
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sfbx.io/configuration/step-3-notice-implementation-web-app-tv/android/unified-sdk/step-2-dependency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
