diff --git a/translate/README.md b/translate/README.md index a1d663c46e5..359a6a47da0 100644 --- a/translate/README.md +++ b/translate/README.md @@ -22,6 +22,19 @@ libraries. [maven-download]: https://maven.apache.org/download.cgi [maven-install]: https://maven.apache.org/install.html +## Authentication +This sample uses API Key for authentication. + + * Visit the [Google Cloud Console](https://console.cloud.google.com) and navigate to: + ``` + API Manager > Credentials > Create credentials > API Key + ``` + + * Set the environment variable GOOGLE_API_KEY + ``` + export GOOGLE_API_KEY= + ``` + ## Run the sample To build the sample, we use Maven.