Follow these steps to get an API key and add restrictions:
1. Go to the Google Cloud Platform Console.
2. From the Project drop-down menu, select or create the project for which you want to add an API key.
3. From the Navigation menu, select APIs & Services > Credentials.
4. On the Credentials page, click Create credentials > API key.
The API key created dialog displays your newly created API key.
5. On the dialog, click Restrict Key.
(For more information, see Restricting an API key.)
6. On the API key page, under Key restrictions, set the Application restrictions.
- Select HTTP referrers (web sites).
- Add the referrers (follow the instructions).
- Click Save.
The above steps are explained clearly in the following video also
Still having issues? You can either post your query in our forum section or mail directly to This email address is being protected from spambots. You need JavaScript enabled to view it.. All your queries will be replied within 24 hrs.