Firebase

Firebase-Logo.png

CRM.COM uses Firebase to send in-app push notifications to the app.

Here’s a step-by-step guide to creating a Firebase account, setting up a project and configuring the Firebase integration in CRM.COM.

If you plan to develop your own app instead of using the CRM.COM Release app, you can still use this guide to create your Firebase account but skip the item marked with a .

Step 1 - Create a Firebase Account

  1. Go to the Firebase website: Visit https://firebase.google.com .

  2. Sign in or create a Google account: You’ll need a Google account to use Firebase. If you already have one, sign in. Otherwise, create a new Google account first.

  3. Access the Firebase console: Once logged in, click on the Go to Console button in the upper right corner of the Firebase homepage.

Step 2 - Create a Firebase Project

  1. Set up a new project

    • In the Firebase Console, click on Add project or Create a project.

  2. Name your project

    • Enter a name for your project. This name will be displayed in the Firebase Console and will be used to identify your project in Firebase services.

    • Click Continue after naming your project.

  3. Set up Google Analytics (optional)

    • Firebase allows you to enable Google Analytics for free, which can provide valuable insights into app usage.

    • You can choose to enable or disable this option. If you enable it, you’ll need to set up your Google Analytics account preferences.

    • Click Continue.

  4. Review and create the project

    • Firebase will show a summary of your project setup options.

    • Click Create project. Firebase will take a few moments to set everything up.

    • Once done, click Continue to be taken to your new Firebase project’s dashboard.

Step 3 - Add an App to Your Firebase Project

You must connect a mobile or web app to Firebase, you can do so by following these steps within your project dashboard:

  1. Select your platform

    • Choose iOS, Android, or Web based on the app you want to integrate with Firebase.

  2. Register your app

    • Follow the setup steps specific to your chosen platform, including registering your app and downloading the necessary configuration files (e.g., google-services.json for Android or GoogleService-Info.plist for iOS). These files store essential metadata, such as API keys, project identifiers, and settings, allowing Firebase SDKs to connect your app to the right Firebase project.

  3. Send the configuration files to CRM.COM

    1. Send the Android and iOS configuration files you downloaded to CRM.COM at support@crm.com. We will build these files into the app that we will send you to be reviewed.

Step 4 - Create a Firebase Service Account

  1. Access Firebase console

    • Go to the Firebase Console.

    • Select your project

  2. Navigate to Service Accounts

    • In the Project Settings, click the gear icon ⚙️ in the left-hand menu and select Project Settings.

    • Go to the Service Accounts tab.

  3. Generate and save the Service Account key

    • In the Firebase Admin SDK section, click Generate new private key.

    • A confirmation dialogue will appear. Click Generate Key to confirm.

    • A JSON file containing your service account credentials will be downloaded automatically. You should save this file securely, as it provides access to your Firebase project.

    • Upload this file in the next step when configuring the Firebase integration in CRM.COM to authenticate Firebase Admin SDK.

Step 5 - Complete the Firebase Configuration in CRM.COM

Once you have created your Firebase project, you must complete the Firebase integration setup in CRM.COM.

  1. Firebase configuration in CRM.COM

    1. Sign in to the back-end system and navigate to Integrations via Platform > Integrations > Firebase.

    2. Click on Setup and provide a name for your Firebase integration.

    3. Select Manage and provide the project ID created in Firebase.

    4. Click on More Actions and upload the JSON file you downloaded in step 4 above.

    5. Enable your Firebase integration by selecting the Enable Integration button.

 

That’s it! You’ve successfully created a Firebase account, created a project and configured your Firebase integration in CRM.COM.