Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
sttproviders:google [2017/01/14 22:30] – borja | sttproviders:google [2018/01/23 14:42] – borja | ||
---|---|---|---|
Line 8: | Line 8: | ||
Languages : https:// | Languages : https:// | ||
- | Integration example : http | + | ==== Using with KEYS ==== |
+ | |||
+ | - Navigate to the Actions Console and click Add/Import Project. | ||
+ | - Create a new project or import an existing Google Cloud project. | ||
+ | - Navigate to the Google Cloud Console API Manager for your project. | ||
+ | - Click Credentials | ||
+ | - Click ' | ||
+ | - Click 'API key' | ||
+ | - Copy the API key shown and insert it in smart-home-provider/ | ||
* **Configuration** | * **Configuration** | ||
Line 20: | Line 28: | ||
</ | </ | ||
+ | ==== Using with Json Credentials ==== | ||
+ | |||
+ | - Create a project in the Google Cloud Platform Console. If you haven' | ||
+ | - Open the Cloud Platform Console. | ||
+ | - In the drop-down menu at the top, select Create a project. | ||
+ | - Click Show advanced options. Under App Engine location, select a United States location. | ||
+ | - Give your project a name. | ||
+ | - Make a note of the project ID, which might be different from the project name. The project ID is used in commands and in configurations. | ||
+ | - Enable billing for your project. If you haven' | ||
+ | - Enable APIs for your project. Click here to visit Cloud Platform Console and enable the Speech API. | ||
+ | - Download service account credentials. These samples use service accounts for authentication. | ||
+ | - Visit the Cloud Console, and navigate to: API Manager > Credentials > Create credentials > Service account key | ||
+ | - Under Service account, select New service account. | ||
+ | - Under Service account name, enter a service account name of your choosing. For example, transcriber. | ||
+ | - Under Role, select Project > Service Account Actor. | ||
+ | - Under Key type, leave JSON selected. | ||
+ | - Click Create to create a new service account, and download the json credentials file. | ||
+ | - Copy the file to : / | ||
+ | |||
+ | See the Cloud Platform Auth Guide for more information. |