I want to link up Google Cloud Firebase to my web app. In this tutorial, I see these seven arguments passed to initializeApp
. The narrator says they are available in the Google Cloud Console:
My question is, um, where in the console? I just don’t see it:
Where am I supposed to be looking? Or is there a CLI command to reveal these arguments?
2
Answers
It’s very confusing.
Firebase is a Google acquisition and though well-integrated, there remain differences.
The Google Cloud console: https://console.cloud.google.com
The Firebase console: https://console.firebase.google.com
You want to select "Project settings":
And the values you need are presented on that page.
In this config section, you’ll find the seven arguments:
Alternatively, you can also find these values in the Firebase CLI by running the command:
firebase projects:get-config
Replace with your actual project ID.
These values are used to initialize the Firebase app in your web application, like so: