Download Firebase config file or object

You can download the Firebase config file or Firebase config object for each of your project's apps from the Project settings page. You need this config file or object to configure your app to use Firebase.

You may need to access your config file or object after the initial registering of the app with Firebase if you're setting up a new environment or you're not the member who originally registered the app.

A config file or config object is only available if you've added your app to your Firebase project.
In this article:

Get config file for your iOS app

To download the config file for a Firebase iOS app:

  1. Sign in to Firebase, then open your project.
  2. Click the Settings icon, then select Project settings.
  3. In the Your apps card, select the bundle ID of the app for which you need a config file.
  4. Click  GoogleService-Info.plist, then add it to your app.

Get config file for your Android app

To download the config file for a Firebase Android app:

  1. Sign in to Firebase, then open your project.
  2. Click the Settings icon, then select Project settings.
  3. In the Your apps card, select the package name of the app for which you need a config file.
  4. Click  google-services.json, then add it to your app.

Get config object for your web app

To get the config object for a Firebase Web App:

  1. Sign in to Firebase, then open your project.
  2. Click the Settings icon, then select Project settings.
  3. In the Your apps card, select the nickname of the app for which you need a config object.
  4. Select Config from the Firebase SDK snippet pane.
  5. Copy the config object snippet, then add it to your app's HTML.
Was this helpful?
How can we improve it?