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
Go to the Firebase Console and open your project.
Click the Gear icon (⚙️) next to Project Overview in the left sidebar and select Project settings.
Under the General tab, copy the Project ID.
Step 2: Create OAuth 2.0 Credentials
Navigate to the Google Cloud Console Credentials Page and select the Google Cloud project associated with your Firebase project.
Click + CREATE CREDENTIALS at the top and select OAuth client ID.
Choose Web application under Application type.
Give your client a name (e.g., UnifyApps Integration).
Under Authorized redirect URIs, click ADD URI and paste the Callback URL shown in the UnifyApps connection form.
Click CREATE.
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
Go to the Firebase Console and open your project.
Click the Gear icon (⚙️) next to Project Overview and go to Project settings.
Open the Service accounts tab.
Click Generate new private key and confirm by clicking Generate key in the modal.
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_idvalue.Service Account Email: the
client_emailvalue.Private key: the
private_keyvalue.Client Email: the
client_emailvalue.
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_idvalue.Private Key ID: the
private_key_idvalue.Private key: the
private_keyvalue.Client Email: the
client_emailvalue.Client ID: the
client_idvalue.
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 |