Skip to main content
Skip table of contents

Push notification: Google Firebase and Firebase Direct

Create an API key for your Firebase project

Create an API key

  1. Log in to the Credentials page of the Google API console.

  2. Select Create Credentials.

  3. Choose API key. This generates the API key.

The next step is to restrict the key.

Restrict the API key

  1. Select Restrict Key. You’ll be given options on what restrictions to apply.

Make sure to select None for application restrictions. For API restrictions, you can choose “Don’t restrict key” or select “Cloud Messaging” from the Restrict key dropdown.

Configure an OAuth client ID for Firebase

  1. On the Credentials page, select Create Credentials.

  2. Select OAuth client ID.

  3. Choose Web Application as the application type.

  4. Set an authorized redirect URI. You’ll use this on the Google Firebase channel admin configuration.

  5. Save your Client ID and Client Secret. You’ll use these on the Google Firebase channel admin configuration.

Setting up a Firebase project

  1. Log in to the Google Firebase console page.

  2. Select Add Project.

  3. Enter your project name.

  4. Select Continue.

  5. Choose your account.

After you create your Firebase project, you must add your app (i.e., iOS, Android). For detailed and accurate steps, you can follow Google’s guide:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.