---
schema_version: "1"
id: d9b0299f96f0a0b5d54d1b604791f3b9703ee7d2ca0ac6f8b3478c5ad844be20
title: Install the Service SDK for Android
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/service_sdk_android/android_install_sdk.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/android_install_sdk.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c25b209446bb45c2b5212c7bcad5c65af506c8f7f9c14d42c70447aabde7ae06
description: Install the Service SDK for Android using Gradle.
---
# Install the Service SDK for Android

Install the Service SDK for Android using Gradle.

Before running through these steps, be sure you’ve checked the [Requirements for the for Android for Android](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/android_sdk_prereqs.htm#android_sdk_prereq "The Salesforce org, SDK development, and mobile app requirements for using the Service Chat SDK.").

![Important](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/images/icon_note_important.png)

#### Important

The legacy chat product is scheduled for retirement on February 14, 2026, and is in maintenance mode until then. During this phase, you can continue to use chat, but we no longer recommend that you implement new chat channels. To avoid service interruptions to your customers, migrate to [Messaging for In-App and Web](https://help.salesforce.com/s/articleView?id=service.miaw_intro_landing.htm&type=5&language=en_US) before that date. Messaging offers many of the [chat features that you](https://help.salesforce.com/s/articleView?id=service.miaw_chat_vs_messaging.htm&type=5&language=en_US) love plus asynchronous conversations that can be picked back up at any time. Learn about chat retirement in [Help](https://help.salesforce.com/s/articleView?id=001790618&type=1&language=en_US).

To get started with the Service SDK for Android:

1. Install the SDK using [Gradle](https://gradle.org/).
    
    The Service SDK is hosted in a maven repository.
    
    <table class="featureTable sort_table" summary="">



              <thead class="thead sorted" align="left">
                <tr>
                  <th class="featureTableHeader  " id="d11221e97">Feature</th>

                  <th class="featureTableHeader  " id="d11221e100">Dependency Name</th>

                  <th class="featureTableHeader  " id="d11221e103">Maven Repository URL</th>

                </tr>

              </thead>

              <tbody class="tbody">
                <tr>
                  <td class="entry" headers="d11221e97" data-title="Feature">All Features</td>

                  <td class="entry" headers="d11221e100" data-title="Dependency Name">
                    <p class="p"><samp class="codeph java">com.salesforce.service:servicesdk:</samp><span class="ph">Service Chat SDK</span></p>

                  </td>

                  <td class="entry" headers="d11221e103" data-title="Maven Repository URL"><samp class="codeph java">https://s3.amazonaws.com/salesforcesos.com/android/maven/release</samp></td>

                </tr>

                <tr>
                  <td class="entry" headers="d11221e97" data-title="Feature">Chat</td>

                  <td class="entry" headers="d11221e100" data-title="Dependency Name">
                    <p class="p"><samp class="codeph java">com.salesforce.service:chat-ui:</samp><span class="ph">Service Chat SDK</span></p>

                    <p class="p">(if you're only using Chat Core, then use <samp class="codeph java">com.salesforce.service:chat-core:</samp><span class="ph">Service Chat SDK</span>)</p>

                  </td>

                  <td class="entry" headers="d11221e103" data-title="Maven Repository URL"><samp class="codeph java">https://s3.amazonaws.com/salesforcesos.com/android/maven/release</samp></td>

                </tr>

              </tbody>

            </table>
    
    To install **all** the Service SDK features, add the following maven repositories to your project's build.gradle file.
    
    allprojects {
      repositories {
        google()
        mavenCentral()
        maven {
          url 'https://s3.amazonaws.com/salesforcesos.com/android/maven/release'
        }
      }
    }
    
    ![Note](https://developer.salesforce.com/docs/atlas.en-us.service_sdk_android.meta/service_sdk_android/images/icon_note.png)
    
    #### Note
    
    Be sure to put the repositories list in the allprojects section.
    
    And add the following dependency to your module's build.gradle file.
    
    dependencies {
      implementation 'com.salesforce.service:servicesdk:224.2.6'
    }
2. Declare permissions.
    
    You must declare the following permissions in your AndroidManifest.xml.
    
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS\_NETWORK\_STATE"/>

You can now start using the Service SDK for Android.