-
Notifications
You must be signed in to change notification settings - Fork 2
Get Firebase Credentials
danielle161 edited this page Oct 8, 2021
·
2 revisions
- Go to console.firebase.google.com
- Go to WDCC-UADS project.
- Go to Project settings.
- Go to Service Accounts tab.
- Scroll down and click on generate new private key.
- Create folder called config in backend.
- Add credentials file generated to config folder.
- Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the file path of the JSON file that contains your service account key: For example, Windows Powershell: $env:GOOGLE_APPLICATION_CREDENTIALS="C:\Users\username\Documents\UADS_Backend\config\service-account-file.json" Linux or macOS: export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Documents/UADS_Backend/config/service-account-file.json"