OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Generate a Firebase Server Key

Required for all Android apps and Chrome Apps & Extensions, and optional for Amazon.

For Developers

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

1. Create a Firebase project

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. Getting your Firebase Cloud Messaging token and Sender ID

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. Configure your OneSignal app's Android platform settings

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.

Done! You now have a key to send push notifications from your Android app.