Setting up API key

Now that we have a project, let's set up an API key first. Follow these steps:

  1. Navigate to Google Platform Console: https://console.cloud.google.com/
  2. Select the project we have created
  3. From the menu on the left-hand side, select APIs & Services
  4. Once you are on APIs & Services page, from the menu on the left-hand side, select Credentials
  1. Using the Create Credentials drop down on the page, select API key
  2. This will generate an API key, copy that key and protect it as you would a secure password

We will be using this key soon to explore the Vision API

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.