> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Workspace

> AI agent を Gmail、Calendar、Sheets、Drive をはじめとする Google Workspace の各種サービスに接続します。

Google Workspace統合を利用すると、ユーザーは自身のGoogle Workspaceのアイデンティティを使ってAI agentで認証できます。この統合により、Googleが提供するさまざまなアプリケーションやサービスのエコシステムにアクセスできるようになります。業務データへのアクセスやGoogleのサービスを通じた共同作業が求められるB2Bのシナリオでは、不可欠な統合です。

## Google WorkspaceをAuth0と接続する

Auth0でGoogle Workspace接続をセットアップするには、詳細ガイド「[アプリをGoogle Workspaceに接続する](/docs/ja-jp/authenticate/identity-providers/enterprise-identity-providers/google-apps)」の手順に従ってください。

このガイドでは、Auth0 で **Google Workspace** 接続をセットアップする手順を説明します。
このような接続を使用して、ユーザーに代わってアプリから第三者 API を呼び出す方法を一連の流れで示す例については、
[ユーザーに代わって第三者 API を呼び出すクイックスタート](/ai/docs/get-started/call-third-party-apis-on-users-behalf)をお読みください。

## Token Vault の設定例

Google Workspace 接続で Token Vault を設定するには、アプリケーションで次のコードスニペットを使用します。

**JavaScript**

**Python**

## Next steps

* To learn how to configure applications to access Token Vault, read [Configure Token Vault](/docs/secure/call-apis-on-users-behalf/token-vault/configure-token-vault).
* If your application uses [Organizations](/docs/manage-users/organizations), authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
* To learn how to get an access token to make a tool call, complete the [Call third-party APIs on user's behalf Quickstart](/ai/docs/get-started/call-third-party-apis-on-users-behalf).
