Skip to content

Commit

Permalink
Merge pull request #365 from GoogleCloudPlatform/api_key
Browse files Browse the repository at this point in the history
Update Translate API README.md
  • Loading branch information
tswast authored Oct 11, 2016
2 parents 7e8ca22 + 0023503 commit 3c657f4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions translate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<YOUR_PROJECT_API_KEY>
```

## Run the sample

To build the sample, we use Maven.
Expand Down

0 comments on commit 3c657f4

Please sign in to comment.