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

[Skills] update google support doc #2576

Merged
merged 4 commits into from
Oct 23, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 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)
2. Create your calendar API credential in [Google developers console](https://console.developers.google.com/apis/credentials).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI as a shortcut in markdown you can auto-increment numbers with the formatting of only using "1."

  1. first
  2. second
  3. third

1. Choose "Create credential" - "OAuth Client ID"
2. Choose "Web Application"
3. Set Redirect URL as **https://token.botframework.com/.auth/web/redirect**
3. 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.
4. Add the connection name, client id, secret and scopes in the **appsetting.json** file.

### Authentication connection settings
{:.no_toc}
Expand Down
12 changes: 8 additions & 4 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)
2. Create your Gmail API credential in [Google developers console](https://console.developers.google.com/apis/credentials).
1. Choose "Create credential" - "OAuth Client ID"
2. Choose "Web Application"
3. Set Redirect URL as **https://token.botframework.com/.auth/web/redirect**
3. 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**.
4. Add the connection name, client id, secret and scopes in the **appsetting.json** file.

### Authentication connection Settings
{:.no_toc}
Expand Down