# Step 1: Repository

***

## Declaration of the repository

{% tabs %}
{% tab title="Old version" %}
In the `build.gradle` file at the root of your project, add the following:

{% code fullWidth="false" %}

```kotlin
repositories {
    ...
    maven {
        url "https://artifactory.datalf.chat/artifactory/appconsent"
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="Kotlin DSL" %}
In your `settings.gradle.kts` file, at the root of your project, add the following:&#x20;

```kotlin
dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven { 
            url = uri("https://artifactory.datalf.chat/artifactory/appconsent")
        }
    }
}
```

{% endtab %}

{% tab title="Groovy" %}
In your `settings.gradle` file, at the root of your project, add the following:

```groovy
dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven {
            url "https://artifactory.datalf.chat/artifactory/appconsent"
        }
    }
}
```

{% endtab %}
{% endtabs %}
