A2oz

How to Get Google Services JSON File from Firebase?

Published in Firebase 2 mins read

You can get the Google Services JSON file from Firebase by following these steps:

  1. Go to your Firebase project: Login to your Firebase console and select the project you want to download the JSON file for.
  2. Navigate to Settings: In the left-hand navigation menu, click on Project settings.
  3. Select General: Choose the General tab.
  4. Download the JSON file: Under the Your apps section, click the Download JSON button next to the Android or iOS app you want to use.

This downloaded JSON file contains your Firebase project's configuration and credentials for using Google services within your app. It's crucial for enabling functionalities like authentication, database access, and cloud messaging.

Example:

Here's how the download button looks in the Firebase console:

Firebase Download JSON Button

Note:

  • You can only download the JSON file for an Android or iOS app.
  • You need to ensure that your app is registered with Firebase before you can download the JSON file.
  • Keep your JSON file secure as it contains sensitive information about your project.

Related Articles