Connect Google Workspace so every student and staff member comes into KyberGate with a role and their organizational unit (OU). Your policies can then target a grade, like /Students/Grade 7, instead of single devices.
Video: 3 minutes, captions on.
Before you start
- You need a Google Workspace super admin account (the one you use to sign in to admin.google.com).
- You need about 5 minutes. Nothing changes in Google except one API client entry.
1. Connect your domain in KyberGate
- Open Admin › Integrations and click Google Workspace.
- Enter your school's domain (for example
yourschool.org) and the email of a Workspace super admin. - Click Connect Workspace. The badge says Delegation pending. This is expected.
- Open the Setup tab. It shows the Domain-Wide Delegation Client ID and the OAuth scopes, each with a Copy button.
2. Authorize KyberGate in the Google Admin console
- In the Google Admin console, go to Security › Access and data control › API controls.
- Click Manage Domain Wide Delegation, then Add new.
- Paste the Client ID from the KyberGate Setup tab.
- Paste all 11 scopes from the Setup tab, in one paste, then click Authorize.
| Scopes | What they turn on |
|---|---|
admin.directory.user.readonly, admin.directory.orgunit.readonly | User sync and OUs (required) |
7 classroom.* scopes | Google Classroom classes and rosters |
gmail.readonly, drive.readonly | KyberPulse email and document scanning |
Paste every scope. If one scope is missing, Google refuses the whole request and reports unauthorized_client, which looks like a wrong Client ID. Copy the list from your Setup tab so it is always complete.
3. Verify and sync
- Back in KyberGate, click Verify Delegation. The badge turns green and says Connected.
- Click Sync Now. The result line shows how many users synced from your domain and how their roles were set.
- The Overview tab counts your students, staff and organizational units.
4. Find your students
- On the Google Workspace page, open the Users tab and search by name, email or OU. The OU column shows where each person sits in Google.
- Admin › Users lists every synced person with their role. Use Students and the grade filter to narrow the list.
5. Automatic sync
After the first sync, KyberGate syncs automatically about every 6 hours. Click Sync Now after big changes in Google, like a new term or a batch of new students.
Someone is missing?
- In scope? Open the OU Scope tab. If any units are checked under Sync users, only those units (and their sub-units) sync. Leave it empty to sync everyone.
- Main domain? With an empty scope, only accounts on your main domain sync. To include a secondary domain, check its units on the OU Scope tab.
- In Google? Make sure the account exists in the Google Admin console and sits in the right unit.
Then click Sync Now.
Troubleshooting
| You see | Do this |
|---|---|
| Badge stays Delegation pending after Verify | In Google Admin, check the Client ID matches the Setup tab and that all 11 scopes are listed. Re-paste the full scope list. |
| "Workspace admin email is missing" | Enter a super admin email on the Google Workspace page and connect again. |
| A staff member synced as a student | Add a Role Mapping rule on the Overview tab (for example /Staff → Teacher), then Sync Now. |