How to configure a Service Account Key for Google Auto ML Project
Guidelines
Log in to https://console.cloud.google.com/home/dashboard.
Go to project settings:
Go to Service Accounts:
Create an account by clicking +CREATE SERVICE ACCOUNT or use an existing one.
Provide Service account details:
Select Service account permissions:
IMPORTANT!
The following roles are required:
AutoML Predictor,
AutoML Viewer,
Cloud Translation API User.
Create key:
A dialog window should be displayed on the right-hand side:
Download a JSON file:
EXAMPLE:
|
The private_key value contains often unnecessary \n characters. To use a valid key, remove \n:
EXAMPLE BEFORE THE CHANGE | EXAMPLE AFTER THE CHANGE |
|
|
The new service account should be available in the accounts list:
Configure Google AutoML in the XTM Cloud UI (administrative privileges required!) in Configuration → Settings → Translation → Machine translation → Google machine translation.
Â