Video: Sync students and staff from Google Workspace

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

  1. Open Admin › Integrations and click Google Workspace.
  2. Enter your school's domain (for example yourschool.org) and the email of a Workspace super admin.
  3. Click Connect Workspace. The badge says Delegation pending. This is expected.
  4. 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

  1. In the Google Admin console, go to Security › Access and data control › API controls.
  2. Click Manage Domain Wide Delegation, then Add new.
  3. Paste the Client ID from the KyberGate Setup tab.
  4. Paste all 11 scopes from the Setup tab, in one paste, then click Authorize.
ScopesWhat they turn on
admin.directory.user.readonly, admin.directory.orgunit.readonlyUser sync and OUs (required)
7 classroom.* scopesGoogle Classroom classes and rosters
gmail.readonly, drive.readonlyKyberPulse 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

  1. Back in KyberGate, click Verify Delegation. The badge turns green and says Connected.
  2. Click Sync Now. The result line shows how many users synced from your domain and how their roles were set.
  3. 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?

  1. 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.
  2. 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.
  3. In Google? Make sure the account exists in the Google Admin console and sits in the right unit.

Then click Sync Now.

Troubleshooting

You seeDo this
Badge stays Delegation pending after VerifyIn 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 studentAdd a Role Mapping rule on the Overview tab (for example /Staff → Teacher), then Sync Now.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article