You need to get the configuration file from the developer’s site and paste it in the app level directory of your project.
Update:
Goto
-
https://console.firebase.google.com/
-
Select your project
-
On the left menu, click on settings > project settings
-
Add an app or download the google-services.json file under the Your Apps section.