4.Select Full Access, Restricted Access, or Billing Access.
5.If you're selecting Restricted Access, or Billing Access, select the specific permissions to give each category. For more information, see API key permissions.
6.Click Create & View.
7.Copy your API key somewhere safe. For security reasons, do not put it directly in your code, or commit it somewhere public like GitHub
You can click on the link for a video tutorial: