Firebase messaging, where to get Server Key?

Mr.D picture Mr.D · May 25, 2016 · Viewed 90.2k times · Source

Firebase allows us to send notification messages via our own application by making POST request.

This tutorial, gives to us instructions how to make this request. However, there is Authorization field in header where I must to place my own Server key.

Where I can get this Server key? There are no instructions for this.

Answer

Frank van Puffelen picture Frank van Puffelen · May 25, 2016

Solution:

  1. Click the Settings (Cog wheel) icon next to your project name at the top of the new Firebase Console, as per screenshot below: enter image description here
  2. Click Project settings.
  3. Click on the Cloud Messaging tab.
  4. The key is right under Server Key. enter image description here