I have downloaded the zip of Firebase real-time database node.js sample and navigate to the database section
Firebase real-time database node.js sample
https://github.com/firebase/quickstart-node
Go to settings -> Service Account -> Generate New private key
That will download the required Json