How to obtain JSON File for configuring Push Notifications?
Follow the below steps to obtain the JSON file:
Step 1: Go to Firebase and sign in to your account.
Step 2: Click Get Started.
Step 3: Click Add project.
Step 4: Enter the project name, select the checkbox, and click the Continue button.
Step 5: Click Continue.
Step 6: Select a Google Analytics account and click Create project.
Step 7: Once the setup is complete, your project will be ready. Click Continue.
Step 8: Click the cogwheel icon next to Project Overview, and select Project Settings.
Step 9: Under Project settings, select the Service accounts tab, ensure Node.js is selected, and click Generate new private key.
Step 9: In the popup, click Generate key and the JSON file will be downloaded to your system.
Note: Store the private key securely, as it can’t be recovered if lost.
Step 10: Upload the downloaded JSON file in the Push Notifications section.