I try to use the Google Translate API in my development, but i can´t find a way to obtain the "service_account.json" file.
The step on "Console Google Cloud Platform":
steps on Console :
Please, I need the steps in detail, since what I get from Google do not serve me
Go to Google API Console. Go to the Credentials page. Click the Download JSON button to download the client secret JSON file and securely store it in a local folder. This JSON file can then be used by Google Drive components and metadata wizard to access Google Drive via the OAuth method Installed Application (JSON) .
Click the Keys tab. Click the Add key drop-down menu, then select Create new key. Select JSON as the Key type and click Create.
Select the newly created service account and click on the 'KEYS' tab. Click the 'ADD KEY' dropdown, select 'Create New Key' and select JSON as the key type. The service account key JSON file is automatically downloaded to your local machine.
You need to fill in all the required fields on the "OAuth Consent screen" tab on the page linked above, or create one if one doesn't exist.
You may also need to create a client-id if that still doesn't work (I can't remember sorry).
You need to create a service account.
Go to https://console.cloud.google.com/iam-admin/serviceaccounts/project and click "Create Service Account"
the newest way to get credential.js is click to 'your_email_servicer'-> chose tab key then click [add Key]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With