Create a Firebase Project

The first step is to create a project in the Google environment.

Note: You need to have been logged in with a Google account which can use the Firebase console in order to walk through this tutorial.

You create a project with the Firebase console.

Creating a Firebase project

Follow the steps below.

  1. Open the Firebase console.

  2. Click "Create a project".

  3. The "Create a project" window opens.

    Enter the following information to create a new project.

    • Project name
      Enter PushTest. This is the project name of your app in the Firebase console.

  4. The project overview page opens.

Creating an Android app and getting the private key

Follow the steps below.

  1. Click the Android icon to start adding an Android app.

  2. The "Add Firebase to your Android app" screen opens.

    Enter the package name of the mobile app. Specify the package name specified when you created the project in Android Studio. It is com.example.pushtest in this tutorial.

    You can omit the app nickname and the debug signing certificate SHA-1 if you use only the FCM feature. Otherwise, follow the on-screen instructions.

    Click "Register app" to continue.

  3. Continue the configuration by following the on-screen instructions.

    • Perss the "Download google-services.json" button to download the google-services.json file to your machine. You will set up the google-services.json file in Android Studio.
    • Ignore the instruction to modify the build.gradle file because the modification instructed on the screen will cause a build error. We will modify the build.gradle file in a later step.
  4. On the project overview page, you will now see the com.example.pushtest in the app list.

    Select the app and click the gear icon to open the project setting screen.

  5. On the project setting screen, follow the steps below:

    1. Select the "Service accounts" tab
    2. Press the "Generate new private key"

  6. The confirmation screen shows up. Press the "Generate key" button to download the private key.

That is it for the Firebase configuration. You can close the browser now.

Let us move to the next step: Configure Kii Cloud.

<< Create an Android Application Configure Kii Cloud >>