Firebase messaging, where to get Server Key?

Updated UI June 2022

I was able to get the Server key by doing the following steps:

  1. Click on the "..." next to "Cloud Messaging API (Legacy)"
  2. Click "Enable Cloud Messaging Api (Legacy)"
  3. Go back to the previous page and refresh and you should now see the Server Key

Not sure if we need to do something different moving forward now that it's considered legacy....

Steps with images: https://documentation.onesignal.com/docs/generate-a-google-server-api-key


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