General instructions are here but, more specifically, you can:
- Goto your console
- Choose your Firebase project from the upper left context switcher:
- Select API Manager, then Credentials:
- Click Create Credentials, then choose API Key:
- You should get a popup like following, with the API Key:
- Be sure to review the best practices for more information on securely using API keys.
Thank you, and thanks for reading!