Unify Integrations
Logo
Firebase

Firebase

Logo

2 mins READ

Use the Firebase connector to build mobile and web applications.

Integrating your application with Firebase lets you use these operations in an automation. It exposes 7 actions, listed below. Add the connector from the Connections area, authenticate, then select its operations in the automation builder. Capabilities: actions.

Authentication

Before you begin, make sure you have the following information:

Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings.

Authentication Type: Select one of these options in the connection form:

  • OAuth

  • OAuth with Client Credentials

  • Service Account

  • OAuth with Service Account Details

Project ID: Every method asks for your Firebase Project ID. You can find it in the Firebase Console under Project settings > General.

1. OAuth with Client Credentials

Step 1: Find your Firebase Project ID

  1. Go to the Firebase Console and open your project.

  2. Click the Gear icon (⚙️) next to Project Overview in the left sidebar and select Project settings.

  3. Under the General tab, copy the Project ID.

Step 2: Create OAuth 2.0 Credentials

  1. Navigate to the Google Cloud Console Credentials Page and select the Google Cloud project associated with your Firebase project.

  2. Click + CREATE CREDENTIALS at the top and select OAuth client ID.

  3. Choose Web application under Application type.

  4. Give your client a name (e.g., UnifyApps Integration).

  5. Under Authorized redirect URIs, click ADD URI and paste the Callback URL shown in the UnifyApps connection form.

  6. Click CREATE.

  7. A dialog box will display your Client ID and Client Secret. Copy both values and paste them into the Client ID and Client secret fields in UnifyApps.

2. Service Account

This method uses a service account private key file to sign requests on behalf of your Firebase project.

Step 1: Generate a Service Account Private Key

  1. Go to the Firebase Console and open your project.

  2. Click the Gear icon (⚙️) next to Project Overview and go to Project settings.

  3. Open the Service accounts tab.

  4. Click Generate new private key and confirm by clicking Generate key in the modal.

  5. A .json key file will download automatically to your computer.

Step 2: Enter the values in UnifyApps

Open the downloaded JSON file and copy these values into the connection form:

  • Project ID: the project_id value.

  • Service Account Email: the client_email value.

  • Private key: the private_key value.

  • Client Email: the client_email value.

3. OAuth with Service Account Details

This method also uses a service account key file. Generate the JSON key file as described in Step 1 above, then copy these values into the connection form:

  • Project ID: the project_id value.

  • Private Key ID: the private_key_id value.

  • Private key: the private_key value.

  • Client Email: the client_email value.

  • Client ID: the client_id value.

Actions

Action Name

Description

Create Android App

Create an Android app in Firebase

Create iOS App

Create an iOS app in Firebase

Get Android App Config

Get Android app configuration from Firebase

Get iOS App by Bundle ID

Get iOS App by Bundle ID from Firebase project

Get iOS App Config

Get iOS app configuration from Firebase

Send a message to a device

Sends a message to a specified target in Firebase

Send a message to a device (Generic)

Sends a message to a specified target in Firebase