Applozic Android SDK Tutorial 1 – Setup and Configuration
Tags: android, tutorial, applozic
Published: 2021-06-11 09:02:03

##Introduction

In this tutorial you will be learning how to integrate the basic functionalities  of [Applozic Android SDK](https://www.applozic.com/platform/chat-messaging/) to get started with your own chat application.

Our goal is to complete the following steps in this tutorial:

1. Create Applozic account and receive API key
2. Set up Android Studio
3. Integrate Applozic Chat SDK in your app
4. Configure the basic dependencies for your app

You can refer to the Applozic Android SDK documentation [here](https://docs.applozic.com/docs/android-chat-sdk).

##Prerequisites
1. Applozic account ([Create your account here](https://console.applozic.com/signup?product=applozic)) for API/Application Key
2. [Android Studio](https://developer.android.com/studio) (latest version)

## Create Applozic account
### Sign Up
Enter your personal dashboard after signing up for Applozic.
<!-- wp:paragraph -->
<p>Enter your personal dashboard after <a rel="noreferrer noopener" href="https://console.applozic.com/signup?product=applozic" target="_blank">signing up for Applozic</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2048,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image.png" alt="Sign up screen" class="wp-image-2048"/><figcaption>Sign up screen</figcaption></figure>
<!-- /wp:image -->

<!-- wp:heading {"level":3} -->
<h3>Get your App ID</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Go to Settings &gt; Configuration &gt; Install. <br>Copy the App ID and use it whenever required.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2049,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image-1-1024x686.png" alt="This is your App ID. You can use this as a unique key for your application." class="wp-image-2049"/><figcaption>This is your App ID. You can use this as a unique key for your application.</figcaption></figure>
<!-- /wp:image -->

<!-- wp:heading -->
<h2>Set up Android Studio</h2>
<!-- /wp:heading -->

<!-- wp:heading {"level":3} -->
<h3>Creating New Project</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Create&nbsp;a new project using&nbsp;<strong>File ➙ New Project</strong>&nbsp;on the top right of the application.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2050,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image-2.png" alt="Create a new project" class="wp-image-2050"/><figcaption>Create a new project</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Select "Empty Activity" from the list under "Phone and Tablet"</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2051,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image-3.png" alt="Select Empty Activity &gt; Next" class="wp-image-2051"/><figcaption>Select Empty Activity &gt; Next</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Rename the project as per your preference. I will name mine as&nbsp;<strong>applozic-tutorial-app</strong>. <br>Make sure to set the minimum SDK as <strong>Android 6.0</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2052,"width":751,"height":545,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large is-resized"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image-4.png" alt="Add a unique name and set the minimum SDK supported" class="wp-image-2052" width="751" height="545"/><figcaption>Add a unique name and set the minimum SDK supported</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Wait for your background tasks to complete.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2054,"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://www.applozic.com/blog/wp-content/uploads/2021/06/image-5.png" alt="Background tasks" class="wp-image-2054"/><figcaption>Background tasks</figcaption></figure>
<!-- /wp:image -->

##Continue this Tutorial on Applozic Blog!
We have the detailed tutorial with code snippets available on [our blog](https://www.applozic.com/blog/applozic-android-sdk-tutorial-1/) for you to continue with your integration!

[Click here](https://www.applozic.com/blog/applozic-android-sdk-tutorial-1/) to learn how to:

* Integrate Applozic Chat SDK in your app
* Configure the basic dependencies for your app
* Configure ProGuard rules

Please leave your feedback and doubts in the comments below!