Generate credentials for Google API v2/v3
![]()
|
![]()
|
This content was generated by artificial intelligence. To request a review, send an e-mail to documentacao_se@softexpert.com.
Prerequisites
- Access to the Google Cloud console .
- SoftExpert Copilot as part of the solutions acquired by the organization.
- Cloud-hosted SoftExpert Suite environment.
- Access the Settings menu > Integration Center (COP010) .
Presentation
To configure the Google Integration API v2 or v3, you must first generate the credentials in the Google Cloud Console.
The Google Cloud Console requires no prior installation or configuration and can be accessed directly through a web browser.
This article provides a step-by-step guide to generating the necessary credentials for both Google v2 and Google v3.
Generate credentials for Google API v2 (text translation)
1. To generate the credential, access the Google Cloud Console through your browser.
If you're already signed in to your Google account, the console will appear automatically. Otherwise, you'll need to sign in using your email address and password.
2. On the home screen, click Navigation menu > APIs and Services > Credentials .
3. Click on Create credentials and select the API key option .
4. The key will be generated; copy it and store it securely, as it will be used later.

5. Access the component Configuration > Integration Center (COP010) > Integration API .
6. Click to add a new Google v2
API and, in the API Key field , enter the key generated in the Google Cloud Console .
7. Click on
.
8. Still in the COP010 menu , Translation tab , Text option , select the Google API v2 previously registered.
9. Click on
.

Generate credentials for Google API v3 (text and file translation)
1. To generate the credential, access the Google Cloud Console through your browser.
If you're already signed in to your Google account, the console will appear automatically. Otherwise, you'll need to sign in using your email address and password.
2. On the home screen, click Navigation menu > APIs and Services > Credentials .
3. Click on Create credentials and select the Service account option .
4. In step 1, Service account details , enter the service account name and ID.
5. Click Create and continue .
6. In step 2, Permissions , select Cloud Translation API User in the Select role field .
7. Click Finish .
8. Back on the Console home screen, under Service Accounts , select the account you created and click Edit Service Account .
9. On the screen that appears, go to the Keys tab , click Add keys , and then Create new key .
10. In Key type , select the JSON option .
11. Click Create . The JSON file will be downloaded automatically.

12. Access the component Configuration > Integration Center (COP010) > Integration API .
13. Click to add a new Google v3
API and fill in the fields based on the information contained in the downloaded JSON file:
- Email : client_email.
- Project identifier : project_id.
- Private key : private_key.
14. Click on
.
15. Still in the COP010 7 menu , access the Translation tab .
16. In the Text option , select the previously registered Google API v3. In Files , also select the same Google API v3.
17. Click on
.

Conclusion
With the generated credentials, it is possible to proceed with configuring the integration API for the Google v2 and Google v3 options.

