Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup: Google Workspace

Connect your Google Workspace tenant so Email Security can analyze your mailboxes.

Prerequisites

  • A Google Workspace Admin account.

  • Google Chrome. Safari cannot be used.

  • Stoïk Protect and the Google Admin Console open in two tabs of the same browser window.

Connect your tenant

1

Sign in with your admin account

  1. In Stoïk Protect, go to Email Security.

  2. Select Google Workspace and click Connect your mailbox.

  3. Sign in with your Google Workspace Admin account.

If you get an Access blocked / Error 400: access_not_configured screen instead of the Google sign-in prompt, see Error 400: access_not_configured for the fix. The same restrictive app-authorization policy blocks both the Phishing module and Email Security.

2

Authorize Stoïk in the Google Admin Console

  1. Open Domain-wide delegation in the Google Admin Console.

  2. Click Add new.

  3. Enter the Client ID 108893255833546679906 and the OAuth scopes below. See Required permissions for what each one is used for.

    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. Click Authorize.

3

Confirm

In Stoïk Protect, click Confirm to verify the configuration. Your Google tenant is connected.

After the connection

  • Monitored mailboxes appear in Email Security > Mailboxes. See Mailbox statuses.

  • Stoïk retrieves the emails of the past 90 days for all monitored mailboxes, starting with the oldest. This can take some time.

To connect another tenant (Microsoft 365 or Google Workspace), go to Email Security > Settings, click Add a provider and follow the same steps. You can connect as many tenants as you need.

If the users list doesn't show up more than 10 minutes after synchronization, contact protect@stoik.io.

Last updated