- On your Firebase Console ( https://console.firebase.google.com) and with your project selected, click the newly created app icon.

- Click the gear icon to open app settings.

- Go to the "Service accounts" tab.

- Click "Generate new private key".

- Click "Generate key" and save the file.

Generate & Download Private Key
Click to copy