> For the complete documentation index, see [llms.txt](https://documentation.pushly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.pushly.com/pushly-ja/platform/organizations/shingurusainon/google-workspace.md).

# Google Workspace

## Google Workspace で: OAuth 2.0 クライアント認証情報を作成する

あなたの会社の Google Workspace の管理者がログインする必要があります [API コンソール](https://console.developers.google.com/) そして、以下の手順に従って新しい OAuth 2.0 クライアント認証情報を作成します。

プロジェクト一覧から、既存のプロジェクトを選択するか、新しいプロジェクトを作成します。

もし `API とサービス` ページがまだ開いていない場合は、コンソールの左側メニューを開き、「API とサービス」を選択します。

左側で、 `認証情報`.

<figure><img src="/files/9047fb81fc306e5b153c5635e266668993ede7cb" alt=""><figcaption></figcaption></figure>

クリック `認証情報を作成`をクリックし、次に `OAuth クライアント ID`

を選択します `ウェブアプリケーション` を選択します `アプリケーションの種類` とし、"Pushly" と名前を付けます

の下にある `承認済みの JavaScript 生成元` に次の値を入力します:&#x20;

```
https://identity.pushly.com
```

の下にある `承認済みのリダイレクト URI` に次の値を入力します:

```
https://identity.pushly.com/login/callback
```

次をクリックします `作成` ボタンをクリックします。次のページにモーダルが表示され、以下が含まれます `クライアント ID` および `クライアント シークレット`。次の手順で使用するため、これら 2 つの値を控えておきます。

## Pushly: Google Workspace の ID プロバイダーを作成する

これで、 `クライアント ID`、および `クライアント シークレット` があれば、プラットフォームにログインして [組織設定ページへ移動](/pushly-ja/platform/organizations.md#accessing-organization-context) できます。

次に、 `セキュリティ` タブをクリックし、 `プロバイダーを追加` ボタンを押します。

を選択します `Google Workspace` を `プロバイダーの種類` のドロップダウンから選択します。

を入力してください `Google ドメイン` これは、組織の Google Workspace のドメイン名です。

以下を入力してください `クライアント ID` および `クライアント シークレット` これは、このドキュメントの最初の手順で生成されたものです。

内の `関連ドメイン` テキストエリアには、組織が Google Workspace 経由でログインに使用する各ドメイン名を 1 行ずつ入力します。たとえば、メールアドレスが `example@yourdomain.com` の場合、次のように入力します `yourdomain.com`

<figure><img src="/files/28ac47986235c17136fee02272bb332e8ca07015" alt=""><figcaption></figcaption></figure>

プロバイダーが正常に作成されたら、 [ユーザーを招待する](/pushly-ja/platform/user-management.md#creating-a-user) ことをプラットフォームで開始できます。招待されたユーザーのうち、 `メールドメイン` に記載されたメールアドレスのいずれかに一致するユーザーは、認証のため Google Workspace 経由で送信されます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.pushly.com/pushly-ja/platform/organizations/shingurusainon/google-workspace.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
