1. Login to https://console.developers.google.com/project/
  2. Select your project
  3. Click on credentials under APIs & auth.
  4. Click on add credentials and select API key
  5. Now click on "Server Key"
  6. Click on create and now use this API key.