Android SDK

Related Articles

Install the new software development kit (SDK) that will enable you to create an application for the Android platform. Here’s a link to GitHub

Create a new Android SDK


Paldesk Android SDK requires a device with minimum Android API version 16.


1. Add Paldesk repository in your current repositories in project’s root build.gradle:

allprojects {

repositories {

maven { url “” }


2. Add dependency in your applications build.gradle:

dependencies {

   implementation ‘’


3. Add these permissions to your Manifest file:

<uses-permission android:name=”android.permission.INTERNET” />

<uses-permission    android:name=”android.permission.READ_EXTERNAL_STORAGE”/>


Initialize Paldesk with your API Key in your Application class:


public void onCreate() {


   PaldeskSDK.init(this, “your api key”);



If you wish to enable logging, just add “loggingEnabled” parameter to initialize method:

PaldeskSDK.init(this, “your api key”, true);

Starting conversation

To start a conversation from your app, use:


Creating client

Depending on your Client authentification type settings from

Webapp -> Administration -> Android SDK (, you can choose three options:

  • No data required – the client will appear as “visitor” – you are free to start a conversation without setting information about your client
  • You provide information about the client through code – you can create a client when your client becomes available to you with the following method:

ClientParams clientParams = new ClientParams.Builder(“email”, “externalId”)

   .firstName(“First Name”)

   .lastName(“Last Name”)



Clearing client

To clear (log out) current client, use:


Important: If you call create client method multiple times, it will matter only first time. If you wish to create different client, please call clear method first and then you are able to create client again.

Android SDK was last modified: April 15th, 2021 by Igor Mirkovic
Share This