Skip to content

Latest commit

 

History

History
68 lines (34 loc) · 2.25 KB

GCPProjectAndVisionSetup.md

File metadata and controls

68 lines (34 loc) · 2.25 KB

GCP project and configuring GCP Vision API setup

  • Go to cloud.google.com and login with your Google account. If you don't have a Google account, please create a free trial account by following instructions at this link.

  • If not already there, go to https://console.cloud.google.com/

  • Create a new project, by selecting the following dropdown in the top left:

image

  • A new window will pop up. In it, select "New Project" in the top right:

image

  • Give your Vision API demo a new project name. Let's go with “mongodb-vision-demo” and click the “Create” button:

image

image

  • After your new project is done being created, make the project your current project. Either type the name in the main search bar

image

Or go back to the dropdown from before and select your new project name:

image

  • When the right project is selected, your screen should look like this

image

  • Also the name will change to reflect this in the dropdown in the top left of your console:

image

  • In the search box, search for "Cloud Vision API" and choose that option in the drop down

image

  • Enable the API

image

  • Your screen should now look like below

image

  • Create a credential of type "Service Account Key" with a name of your choosing, Key Type is JSON, and Role of Owner as follows. Select from the top left hamburger menu the "APIs & Services" entry. From the submenu select "Credentials", like below:

image

  • In the center of the screen a select of different credentials is offered. Select here "Service account key", as below:

image

  • From the service account drop down, select "New Service account", and provide any name. From the Select a role dropdown, select "Project" and then "Owner".

image

  • If all looks like below, press "Create"

image

  • When saving, it will download the JSON file. Read its contents put it in gcpcreds.json

image