Alian Hub
  • App Installation and Start Guide
    • 1. Nodejs Configuration
    • 2. Generate License Key
    • 3. Server Startup
    • 4. Installation Guide
      • 4.1 Domain Verification
      • 4.2 MongoDB Verification
      • 4.4 Wasabi Configuration
      • 4.5 Firebase Configuration
      • 4.6 AI Configuration
      • 4.7 Payment Configuration
        • 4.7.1 Chargebee Configuration
        • 4.7.2 Paddle Configuration
      • 4.8 SMTP Configuration (GMAIL)
      • 4.9 Database Initialization
      • 4.10 Final Step
      • 4.11 Final Builds
    • 5. Time Tracker Configuration
  • Introduction to Alian hub
    • Create An Account
    • User Dashboard
    • Create a New Project
    • Project Dashboard
      • Create a New Folder
      • Create a New Sprint
      • Add a New Task
      • Add a Sub-Task
      • Add Time Log
      • Add a Milestone
      • Add Estimated Hours
    • List View
    • Activity View
    • Calendar View
    • Board View
    • Comments
    • Project Details
    • Workload View
    • Table View
    • Embed View
    • Chats & Channels
    • Close Or Reopen Project
    • Time Sheet Reports
    • Milestone Report
    • Settings
      • Company Settings
        • Projects Settings
        • Template Settings
        • Upgrade your Plan
        • Security & Permissions
      • Personal Settings
  • Docker Installation
    • Alian hub - Docker Setup Guide
    • Docker Image Hosting Guide
  • TROUBLESHOOTING
    • FAQs
Powered by GitBook
On this page
  • 4.5.1 Create Firebase Project
  • 4.5.2 Setup Firebase & Admin SDK
  • 4.5.3 Setup FCM SERVER KEY
  1. App Installation and Start Guide
  2. 4. Installation Guide

4.5 Firebase Configuration

Previous4.4 Wasabi ConfigurationNext4.6 AI Configuration

Last updated 9 months ago

4.5.1 Create Firebase Project

  1. First, you need to go to Firebase consoles as shown in the image below.

  1. Thereafter, click on ‘Add Project’ to create a new project.

  1. Enter the name of your project and click on continue.

  1. In this step, if you have enabled Google Analytics, then select an account for Google Analytics by clicking on ‘Continue’ and following that, click on the ‘Create Project’ button. If Google Analytics is disabled, then directly click on ‘Create Project’. It is not necessary to enable Google Analytics for our product.

4.5.2 Setup Firebase & Admin SDK

  1. After creating the project, click on ‘Project Settings’ as shown in the image below.

  1. Click on ‘</>’ ‘Web app create’ button as shown in the image below.

  1. Enter the name of your Web App as shown in the image below and click on the ‘Register app’ button.

  1. Now, you need to Get Firebase credentials. Add these credentials in the form field as shown in the example below. APIKEY = "apiKey_get_from_firebaseConfig"

    AUTODOMAIN = "authdonain_get_from_firebaseConfig"

    PROJECTID = "projectId_get_from_firebaseConfig"

    STORAGEBUCKET ="storageBucket_get_from_firebaseConfig"

    MESSAGINGSENDERID ="messagingSenderId_get_from_firebaseConfig"

    APPID = "appId_get_from_firebaseConfig"

    MEASUREMENTID = 'add_if_get_from_firebaseConfig'

    otherwise_add=""(empty string)

  2. Now, click on the ‘Continue to Console’ button.

  3. Thereafter, click on service accounts as shown in the image below.

  1. Click on the ‘Generate New Private Key’ button. It downloads one JSON file. Now copy that JSON file and paste it into firebase-adminsdk.json file which is in the root folder of your code.

4.5.3 Setup FCM SERVER KEY

  1. In Project Settings, go to the ‘Cloud Messaging’ tab. Now, click on the 3 dots in the ‘Cloud Messaging API’ section and click on the ‘Manage API in Google Cloud Console’ option.

  1. Enable ‘Cloud Messaging’ as shown in the image below.

  1. Thereafter, search for the Firebase Cloud Messaging Data API, and enable it.

https://firebase.google.com/