If you don't have firebase project, follow the video below and create one
If you have one already, skip this step
Go to firebase Project Settings and click Service accounts tab
Then click on Generate new private key
It will open a box like below.
Click on Generate key button.
Note: Store this file securely beacuase your new key cant't be recovered if lost.
This way you can get private key .json file for FCM configuration.