# How do I use Google application credentials in IntelliJ?

How do I use Google application credentials in IntelliJ?

##### Post Metadata
- Posted at: almost 4 years ago
- Author title: Pinned by G2 as a common question



## Comments
### Comment 1

Go to the config, add e-mail address of your service account to the “Service Account” 

Test following the next steps:

1.	Create a new Python Flask Cloud Run project using a starter template Cloud Code provides.
2.	Edit the Cloud Run: Run Locally config&#39;s &quot;Service Account&quot; field to include the email address of my service account. Note that I gave this service account Owner permission for testing.
3.	Add in a Cloud Translate snippet https://cloud.google.com/translate/docs/advanced/translating-text-v3#translating_input_strings
4.	Run the Cloud Run: Run locally configuration.

At the time when the service is running, open the URL in the Event Log and the translate API was called successfully.
Alternatively, you could add your service account&#39;s key.json file to your project, create a new environment variable in your Dockerfile named GOOGLE_APPLICATION_CREDENTIALS, and set that variable equal to the path of your key.json file.


##### Comment Metadata
- Posted at: over 3 years ago
- Author title: 🚀Web Developer, Data, Python, Java, SQL | Learning 🇫🇷French🇩🇪German | Community Manager | Digital Marketing | Social Media | Branding | LinkedIn Creator | Host | Lecturer | Project Collaborator | B2B | B2C | REMOTE




## Related Product
[Google Cloud Tools for IntelliJ](https://www.g2.com/products/google-cloud-tools-for-intellij/reviews)

## Related Category
[Google Workspace Development Tools](https://www.g2.com/categories/google-workspace-development-tools)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


