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 Firebase console's 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.

Learn more about the Firebase config file and object in Understand Firebase Projects.

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

  1. Go to your the Settings icon Project settings in the Firebase console.
  2. In the Your apps card, select the bundle ID of the app for which you need a config file.
  3. Click  GoogleService-Info.plist.
  4. Move your config file into the root of your Xcode project. If prompted, select to add the config file to all targets.
    Make sure that you only have this most recent downloaded config file in your Xcode project.

Get config file for your Android app

  1. Go to your the Settings icon Project settings in the Firebase console.
  2. In the Your apps card, select the package name of the app for which you need a config file.
  3. Click  google-services.json.
  4. Move your config file into the module (app-level) directory of your app.
    Make sure that you only have this most recent downloaded config file in your app.

Get config object for your web app

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