---
schema_version: "1"
id: ed9c2dd9b64458ca28189aaf1f010b85f7edde6f1de05ba235b5bce8397dbfab
title: Install the Android SDK
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/messaging-in-app/guides/android-installation.md
canonical_url: https://developer.salesforce.com/docs/service/messaging-in-app/guide/android-installation.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 66b93900a2ef0355629d496ffc17da525fa553f1ee718306e71041cb227268d2
products:
  - Enhanced In-App Chat
  - Service Cloud Developer Content
---
# Install the Android SDK

To get started, install the SDK and then update some of the settings in your project.

## Add Maven Repository

Add the following maven repository to your `build.gradle` or `build.gradle.kts` file.

```kotlin
maven {
    url "https://s3.amazonaws.com/inapp.salesforce.com/public/android"
}
```

```kotlin
maven {
    url = uri("https://s3.amazonaws.com/inapp.salesforce.com/public/android")
}
```

## Add Dependency

Add the following dependency to your `build.gradle` or `build.gradle.kts` file.

```kotlin
dependencies {
  implementation "com.salesforce.service:messaging-inapp-ui:<version>"
}
```

```kotlin
dependencies {
  implementation("com.salesforce.service:messaging-inapp-ui:<version>")
}
```

**tip:** To get the latest version information, refer to the [Enhanced In-App Chat release notes](https://github.com/Salesforce-Async-Messaging/messaging-in-app-android/releases).

**note:** If you plan to use the [Core SDK](https://developer.salesforce.com/docs/service/messaging-in-app/guide/android-core-sdk.md) (and not the UI SDK), use the following dependency instead of `messaging-inapp-ui`: `com.salesforce.service:messaging-inapp-core:<version>`.

## Update Other Settings

Turn on the `dataBinding` feature in the Android section of your `build.gradle` file.

```kotlin
buildFeatures {
  dataBinding true
}
```

```kotlin
buildFeatures {
  dataBinding = true
}
```
