> 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-de/email-security/google-workspace.md).

# Einrichtung: Google Workspace

Verbinde deinen Google Workspace-Tenant, damit Email Security deine Postfächer analysieren kann.

## Voraussetzungen

* Ein **Google Workspace-Administrator** Konto.
* Google Chrome. Safari kann nicht verwendet werden.
* Stoïk Protect und die Google Admin-Konsole in zwei Tabs desselben **selben Browserfensters**.

## Verbinde deinen Tenant

{% stepper %}
{% step %}

### Melde dich mit deinem Administratorkonto an

1. In Stoïk Protect gehe zu `Email Security`.
2. Wähle Google Workspace aus und klicke auf `Verbinde dein Postfach`.
3. Melde dich mit deinem Google-Workspace-Administratorkonto an.

{% hint style="info" %}
Wenn du einen `Zugriff blockiert` / `Fehler 400: access_not_configured` Bildschirm statt der Google-Anmeldeaufforderung angezeigt bekommst, siehe [Fehler 400: access\_not\_configured](/help/help-de/menschliche-sicherheit/phishing/setup-errors.md#error-400-access_not_configured) für die Lösung. Dieselbe restriktive App-Autorisierungsrichtlinie blockiert sowohl das Phishing-Modul als auch Email Security.
{% endhint %}
{% endstep %}

{% step %}

### Autorisiere Stoïk in der Google Admin-Konsole

1. Öffne [Domainweite Delegierung](https://admin.google.com/ac/owl/domainwidedelegation) in der Google Admin-Konsole.
2. Klicken Sie `Neu hinzufügen`.
3. Gib die Client-ID ein `108893255833546679906` und die unten stehenden OAuth-Bereiche ein. Siehe [Erforderliche Berechtigungen](/help/help-de/email-security/google-workspace/permissions.md) wofür jede einzelne verwendet wird.

   ```
   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. Klicken Sie `Autorisieren`.
   {% endstep %}

{% step %}

### Bestätigen

Klicke in Stoïk Protect auf `Bestätigen` um die Konfiguration zu überprüfen. Dein Google-Tenant ist verbunden.
{% endstep %}
{% endstepper %}

## Nach der Verbindung

* Überwachte Postfächer erscheinen in `Email Security` > `Postfächer`. Siehe [Postfachstatus](/help/help-de/email-security/mailbox-statuses.md).
* Stoïk ruft für alle überwachten Postfächer die E-Mails der letzten 90 Tage ab, beginnend mit den ältesten. Das kann einige Zeit dauern.

Um einen weiteren Tenant (Microsoft 365 oder Google Workspace) zu verbinden, gehe zu `Email Security` > `Einstellungen`, klicken Sie auf `Anbieter hinzufügen` und folge denselben Schritten. Du kannst so viele Tenants verbinden, wie du brauchst.

{% hint style="info" %}
Wenn die Benutzerliste mehr als 10 Minuten nach der Synchronisierung nicht angezeigt wird, kontaktiere <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-de/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.
