First you need a client (see: https://github.com/firebase/quickstart-js/tree/master/messaging). If ready your client side; go to Firebase Console > Settings > Service Accounts and then download Firebase Admin SDK credential. This downloaded *.json file should be replace name it serviceAccountKey.json and this file move in this project root folder. Anymore we need a user token for push notification.
Enjoy it now :)