a) On the credentials page, click Create credentials-> API key.
The API key created dialog displays your newly created API key.
b) Click Close.
4. Adding the API key to your request
5. Restricting API keys
a) Go to the APIs & Services->Credentials page.
b) Select the API key that you want to set a restriction on.