> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/help/help-nl/email-security/google-workspace.md).

# Installatie: Google Workspace

Koppel je Google Workspace-tenant zodat Email Security je mailboxen kan analyseren.

## Vereisten

* Een **Google Workspace-beheerder** account.
* Google Chrome. Safari kan niet worden gebruikt.
* Stoïk Protect en de Google Admin Console open in twee tabbladen van hetzelfde browservenster **hetzelfde browservenster**.

## Koppel je tenant

{% stepper %}
{% step %}

### Meld je aan met je beheerdersaccount

1. Ga in Stoïk Protect naar `Email Security`.
2. Selecteer Google Workspace en klik op `Koppel je mailbox`.
3. Meld je aan met je Google Workspace-beheerdersaccount.

{% hint style="info" %}
Als je een `Toegang geblokkeerd` / `Fout 400: access_not_configured` scherm te zien krijgt in plaats van de Google-aanmeldprompt, zie [Fout 400: access\_not\_configured](/help/help-nl/menselijke-beveiliging/phishing/setup-errors.md#error-400-access_not_configured) voor de oplossing. Hetzelfde restrictieve beleid voor app-autorisatie blokkeert zowel de phishingmodule als Email Security.
{% endhint %}
{% endstep %}

{% step %}

### Autoriseer Stoïk in de Google Admin Console

1. Open [Domeinbrede delegatie](https://admin.google.com/ac/owl/domainwidedelegation) in de Google Admin Console.
2. Klik op `Nieuwe toevoegen`.
3. Voer de client-id in `108893255833546679906` en de onderstaande OAuth-scopes. Zie [Vereiste machtigingen](/help/help-nl/email-security/google-workspace/permissions.md) waarvoor elk ervan wordt gebruikt.

   ```
   https://www.googleapis.com/auth/gmail.readonly,https://www.googleapis.com/auth/gmail.modify,https://www.googleapis.com/auth/gmail.insert,https://www.googleapis.com/auth/gmail.metadata,https://www.googleapis.com/auth/gmail.settings.basic,https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.reports.audit.readonly,https://www.googleapis.com/auth/apps.alerts,https://www.googleapis.com/auth/admin.directory.customer.readonly,https://www.googleapis.com/auth/gmail.settings.sharing,https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
   ```
4. Klik op `Autoriseren`.
   {% endstep %}

{% step %}

### Bevestigen

Klik in Stoïk Protect op `Bevestigen` om de configuratie te verifiëren. Je Google-tenant is verbonden.
{% endstep %}
{% endstepper %}

## Na het koppelen

* Bewaakte mailboxen verschijnen in `Email Security` > `Mailboxen`. Zie [Mailboxstatussen](/help/help-nl/email-security/mailbox-statuses.md).
* Stoïk haalt voor alle bewaakte mailboxen de e-mails van de afgelopen 90 dagen op, te beginnen met de oudste. Dit kan enige tijd duren.

Om nog een tenant (Microsoft 365 of Google Workspace) te koppelen, ga naar `Email Security` > `Instellingen`, klik `Provider toevoegen` en volg dezelfde stappen. Je kunt zoveel tenants koppelen als je nodig hebt.

{% hint style="info" %}
Als de gebruikerslijst niet verschijnt binnen 10 minuten na synchronisatie, neem dan contact op met <protect@stoik.io>.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stoik.io/help/help-nl/email-security/google-workspace.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
