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 project

Follow the steps below.

  1. Open the Firebase console.


    You can import an existing Google project to configure FCM if you have added Google features other than FCM to the project.

  3. The "Create a project" window opens.

    Enter the following information and click "CREATE PROJECT".

    • Project name
      Enter PushTest. This is the project name of your app in the Firebase console.
    • Country/region
      Select your location. Hover on the "?" mark to display the description.

  4. The start screen of the Firebase console opens.

    Click "Add Firebase to your Android app".

  5. The "Enter app details" screen opens.

    Enter the package name of the mobile app here. 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 instruction.

    Click "ADD APP" after specifying the app details.

  6. Continue the configuration by following the on-screen instruction.

    • The "Copy config file" screen downloads the google-services.json file to your machine as soon as the screen opens. 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.
  7. Check the server key after the project is created.

    First, select "Settings" from the project menu to open the "Settings" screen.

    Open the "CLOUD MESSAGING" tab in the "Settings" screen.

    Record the string displayed as the server key somewhere. We will enter this string in the developer portal of Kii Cloud in the next step.

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 >>