Your Firebase Server Key and Firebase Sender ID are used to send push notifications to Android devices.
To begin, we'll obtain a Firebase Server Key and Firebase Sender ID. These keys allow OneSignal to use Google's web push services for your notifications.
Do not follow this guide if you are integrating web push for a website or WordPress blog.
Android platforms are for native mobile apps only, not for websites
If you already have an FCM project you would like to use with OneSignal, you will need to retrieve your "Sender ID" and "Firebase Cloud Messaging token". Then skip to step 2
1.1 Visit the Firebase Console and sign in with your Google account.
1.2 Press "CREATE NEW PROJECT" or select an existing one below.
1.3 Enter a project name and press "CREATE PROJECT".
2.1 Click the Gear icon in the top left and select "Project settings".
2.2 Select the "CLOUD MESSAGING" tab.
2.3 Save the two values listed:
- You'll need your Server key and Sender ID.
3.1 Go to Settings and press the Configure button to the right of Google Android.
3.2 Paste your Google Server API Key and Google Project Number in here and press Save.