Skip to content

Latest commit

 

History

History
100 lines (50 loc) · 3.27 KB

GetKeyFromGoogleCloud.md

File metadata and controls

100 lines (50 loc) · 3.27 KB

Signing up for Google Cloud

If you have signed up for Google Cloud already, please jump to Obtaining a credential key file.

Log on to Google Cloud Platform using your Gmail account. Click Activate on the top right corner or TRY FOR FREE in the centre.

Screenshot

Choose your country and check the box to agree to the service terms. Click CONTINUE.

Screenshot

Complete the form with your name, address and details of your payment card.

Screenshot

You must provide Google with a valid debit / credit card. Otherwise, you will not be able to use Google Vision API. From developers' experience, Google will check if your card is valid but will not charge on your card when you sign up.

Click START MY FREE TRIAL when you are done.

Screenshot

Obtaining a credential key file

After signing up for Google Cloud, you need to create a project, enable Vision API and create a service account before you can use Google Vision API.

Create a project

Click Select a project on the top. Then Click NEW PROJECT.

Screenshot

Give a name to the project. Click CREATE.

Screenshot

Enable Vision API

Click the sandwich menu button on the top left. Navigate to API & Services -> Library.

Screenshot

Click Cloud Vision API

Screenshot

If you are unable to find Cloud Vision API for some reason, please type vision into the search box. You should be able to see it now. Click Cloud Vision API.

Screenshot

Click Enable

Screenshot

Create a service account

Click the sandwich menu button on the top left. Navigate to IAM & Admin -> Service Accounts.

Screenshot

Click CREATE SERVICE ACCOUNT.

Screenshot

Give a name to the account. It is usually a name for your computer as service accounts are usually issued to computers. Click CREATE.

Screenshot

Click Select a role

Screenshot

Navigate to Basic -> Owner.

Screenshot

Click CONTINUE.

Screenshot

Leave these fields blank. Click DONE.

Screenshot

Under Actions on the right-hand side, click the sandwich button on the row of the service account you created just now. Click Create key.

Screenshot

Select JSON for Key type. Click CREATE.

Screenshot

Your browser should automatically download a .json file or ask you to save a .json file. Please move the credential file to a safe location after downloading.

Screenshot

In Memespector GUI, click Browse and select the downloaded .json file as the Credential file for Google Vision.

Screenshot