Add Parse SDK to your Android Project


In this section you learn how to get started with an Android Studio template and get ready to use Back4App in 3 easy steps.

If you want a detailed Quickstart guide or connect Back4App to an existing project, go to our Custom SDK Installation Tutorial


To complete this quickstart, you need:

  • Android Studio.
  • An app created at Back4App.

Step 1 - Get the template

Download the template at Back4App’s GitHub repository, and unzip files in your project folder.

You can do that using the following command line:

  $ curl -LOk && unzip

Step 2 - Open the project template

  1. Open Android Studio.
  2. Click on Open an existing Android Studio project. Android Studio Welcome Screen
  3. Navigate to the project folder and click on OK. Android Studio Opening file
  4. Wait for Android Studio to open and run Gradle.

Step 3 - Setup app’s credentials

Update your strings values to set up the app’s credentials. Parse Android SDK uses these settings to connect to the Back4App servers.

  1. Open your strings file: .../app/src/main/res/values/strings.xml Strings.xml File
  2. Go to your App Dashboard at Back4App website.
  3. Navigate to app’s settings: Click on Features > Core Settings block > Server.
  4. Return to your strings.xml file and paste your applicationId and clientKey.

See more at our Back4App’s Create New App guide.

Step 4 - Testing your connection

  1. Build your app in a device or virtual device (Shift+F10). Build app
  2. Wait until the Hello Word! screen appears.
  3. Login at Back4App.
  4. Find your app and click on Dashboard.
  5. Click on Core.
  6. Go to Browser.

If everything works properly, you should find a class named Installation as follows: Installation at Back4App Dashboard

Next Steps

At this point, you have learned how to get started with Android apps. You are now ready to explore Parse Server core features and Back4App add-ons.

Learn more by walking around our Android Tutorials or check Parse open source documentation for Android SDK.