1- Log into google cloud platform https://console.cloud.google.com/
2- Create a project: TranslateXXXX
3-
...
Enable "translate" API for this specific project ( or other API if needed )
4-
...
Create account for this project ( owner, editor or viewer )
Python script example: https://cloud.google.com/translate/docs/reference/libraries
...