Example Of Firebase Cloud Messaging - Web Client (JS) Change the variable on Filescript.js by your Massaging Sender Id. variable should be accessible via Firebase Console var config = { messagingSenderId: "551579329505" }; repository based on Rakibul Islam Tutorial