Search

EasyDNN PWA

Previous Article Configuring the Module (setup settings)
Next Article How to setup and send push notifications in EasyDNN PWA module

How to connect Google Firebase + EasyDNN PWA module

Our module uses Google Firebase to send web push notifications. You need to create Firebase project and then web app in that project. After that you need to copy your public and private configuration data to EasyDNN PWA module. 

Create your project in the Firebase Console.

https://console.firebase.google.com/

Image

Click on “Create a project”.

Image

Enter project name.

Image

Enable Google Analytics.

Image

Select existing or create new Google Analytics account.

Image

Image

Now your Firebase project is created.

Image

Select Messaging from the menu. Now we need to create app to connect to our EasyDNN PWA module.

Image

Select option to create web app.

Image

Continue to the next screen.

Image

Here you need to copy and save the selected part. This is firebase configuration needed for module.

Image

Go to project settings.

Image

Go to Cloud Messaging and click “Generate key pair”. 

Image

Copy and save the key you see here this is your public VAPID key.

Image

Go to “Service accounts” and click “Generate new private key”.  This is your private admin key. A JSON file will be download. Save that file. You will the content of that file in EasyDNN PWA module.

Now go to your website and enter the module settings of EasyDNN PWA module.

Image

Turn on “Enable push Notifications”.

Image

Image

Enter your Firebase configuration, VPAID key, and contents of admin JSON file.

Save settings and module should be set now.

 

Previous Article Configuring the Module (setup settings)
Next Article How to setup and send push notifications in EasyDNN PWA module
Print
Last update: 24.07.2024 / Rate this article:
No rating
Copyright 2024 by EasyDNNsolutions Terms Of Use Privacy Statement