Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
[Skills] update google support doc (#2576)
Browse files Browse the repository at this point in the history
* update google support doc

* fix number

* Update calendar.md

* Update email.md
  • Loading branch information
KayMKM authored and ryanisgrig committed Oct 23, 2019
1 parent c9ffedd commit 8242922
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
12 changes: 8 additions & 4 deletions docs/_docs/skills/samples/calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,17 @@ Learn how to [provision your Azure resources]({{site.baseurl}}/tutorials/csharp/
> Office 365 and Outlook.com through the Microsoft Graph is supported along with support for Google accounts.
To use Google account skill you need follow these steps:
1. Create your calendar API credential in [Google developers console](https://console.developers.google.com).
2. Create an OAuth connection setting in your Web App Bot.
1. Enable Calendar API in [Google API library](https://console.developers.google.com/apis/library)
1. Create your calendar API credential in [Google developers console](https://console.developers.google.com/apis/credentials).
1. Choose "Create credential" - "OAuth Client ID"
1. Choose "Web Application"
1. Set Redirect URL as **https://token.botframework.com/.auth/web/redirect**
1. Create an OAuth connection setting in your Web App Bot.
- Connection name: **googleapi**
- Service Provider: **Google**
- Client id and secret are generated in step 1
- Scopes: **https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/contacts**.
3. Add the connection name, client id, secret and scopes in the **appsetting.json** file.
1. Add the connection name, client id, secret and scopes in the **appsetting.json** file.

### Authentication connection settings
{:.no_toc}
Expand All @@ -158,4 +162,4 @@ Learn how to use [events]({{site.baseurl}}/reference/virtual-assistant/events) t
## Download a transcript
{:.toc}

<a class="btn btn-primary" href="{{site.baseurl}}/assets/transcripts/skills-calendar.transcript">Download</a>
<a class="btn btn-primary" href="{{site.baseurl}}/assets/transcripts/skills-calendar.transcript">Download</a>
14 changes: 9 additions & 5 deletions docs/_docs/skills/samples/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,17 @@ Learn how to [provision your Azure resources]({{site.baseurl}}/tutorials/csharp/
> Office 365 and Outlook.com through the Microsoft Graph is supported along with support for Google accounts.
To use Google account skill you need follow these steps:
1. Create your calendar API credential in [Google developers console](https://console.developers.google.com).
2. Create an OAuth connection setting in your Web App Bot.
1. Enable Gmail API in [Google API library](https://console.developers.google.com/apis/library)
1. Create your Gmail API credential in [Google developers console](https://console.developers.google.com/apis/credentials).
1. Choose "Create credential" - "OAuth Client ID"
1. Choose "Web Application"
1. Set Redirect URL as **https://token.botframework.com/.auth/web/redirect**
1. Create an OAuth connection setting in your Web App Bot.
- Connection name: **googleapi**
- Service Provider: **Google**
- Client id and secret are generated in step 1
- Scopes: **https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/contacts**.
3. Add the connection name, client id, secret and scopes in the **appsetting.json** file.
- Scopes: **https://mail.google.com/ https://www.googleapis.com/auth/contacts**.
1. Add the connection name, client id, secret and scopes in the **appsetting.json** file.

### Authentication connection Settings
{:.no_toc}
Expand All @@ -144,4 +148,4 @@ Learn how to use [events]({{site.baseurl}}/reference/virtual-assistant/events) t
## Download a transcript
{:.toc}

<a class="btn btn-primary" href="{{site.baseurl}}/assets/transcripts/skills-email.transcript">Download</a>
<a class="btn btn-primary" href="{{site.baseurl}}/assets/transcripts/skills-email.transcript">Download</a>

0 comments on commit 8242922

Please sign in to comment.