Notification Settings

We are providing Firebase Cloud Messaging (FCM) for sending notification using portal. Potential of real-time communication with our integrated Firebase Cloud Messaging (FCM) in Notification Settings. Tailor your notification preferences, harnessing the efficiency of FCM for swift and impactful messages to your audience. Keep your users engaged and informed effortlessly. To Get Firebase Cloud Messaging (FCM) Configuration Keys:

  1. Go to the Firebase Console:

  2. Create or Select a Firebase Project:

    • Click "Add project" to create a new project if needed.

    • If you have an existing project, click on the project name to select it.

  3. Add Your Web App to Firebase:

    • After selecting your project, click "Add app" (</> icon).

    • Follow web platform setup instructions.

    • Retrieve the Firebase SDK configuration object.

  4. Configure FCM for Your Web App:

    • In the Firebase Console, go to project settings (gear icon).

    • Navigate to the Cloud Messaging tab.

    • Configure FCM settings (e.g., default notification icon).

  5. Integrate FCM Configuration in Your Web App:

    • Firebase provides a configuration object with API keys.

    • Copy the generated configuration and update firebaseConfig in your JavaScript code.

    javascriptCopy codeconst firebaseConfig = {
        apiKey: "your-api-key",
        authDomain: "your-auth-domain",
        projectId: "your-project-id",
        storageBucket: "your-storage-bucket",
        messagingSenderId: "your-messaging-sender-id",
        appId: "your-app-id",
        measurementId: "your-measurement-id"
    };

To Get Server API Key from Firebase Cloud Messaging (FCM) Console:

  1. Go to Firebase Console:

    • Visit Firebase Console.

    • Sign in with your Google account.

  2. Select Your Project:

    • If multiple projects, choose the relevant one.

  3. Go to Project Settings:

    • Click on the gear icon (⚙️) next to your project name.

    • Select "Project settings" from the dropdown menu.

  4. Navigate to Cloud Messaging Tab:

    • In Project settings, click on the "Cloud Messaging" tab.

  5. Find Your Server Key:

    • Under Project credentials, find the "Server key" labeled string.

To Get VAPID Key from Firebase Cloud Messaging (FCM) Console:

  1. Go to Firebase Console:

    • Visit Firebase Console.

    • Sign in with your Google account.

  2. Click on Project Settings:

    • In Firebase Console, click on the gear icon (⚙️) next to your project name.

    • Select "Project Settings" from the dropdown menu.

  3. Select Cloud Messaging:

    • In Project settings, click on the "Cloud Messaging" tab.

  4. Generate Your VAPID Key:

    • Scroll down to Web Push Certificate.

    • Generate your VAPID Key.

    • Ensure Cloud Messaging API (Legacy) is enabled for API calls.

Last updated