> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goguardian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import Teachers from Google Directory

> Use Google Directory to automatically create and sync GoGuardian Teacher accounts from Google Admin Console Organizational Units.

Google Directory lets GoGuardian Super Users sync teacher accounts from Google Admin Console Organizational Units (OUs). When accounts are created through this integration, GoGuardian Teacher access is enabled automatically.

<Note>
  Google Directory Provisioning also supports provisioning administrator accounts from Google. See the Provisioning Admins from Google article for details.
</Note>

## Requirements

* A Google account with Google Super Admin permissions to run the sync
* GoGuardian app services enabled in Google Admin Console — specifically the Google OU Sync app (the second ID in the app list). See the Enable GoGuardian as a Third-Party App article for setup instructions.

## Link Google Directory

1. Go to [manage.goguardian.com/integrations](https://manage.goguardian.com/integrations).

   <img src="https://mintcdn.com/goguardian/WdSLf_illc6wcugj/images/screenshots/teacher/import-teachers-from-google-directory/step-01.png?fit=max&auto=format&n=WdSLf_illc6wcugj&q=85&s=60930debfd2c246e24d937da3a54ae7c" alt="Integrations page in GoGuardian Org Management" width="2880" height="1800" data-path="images/screenshots/teacher/import-teachers-from-google-directory/step-01.png" />

2. Click **Sync Google Directory**.

3. Sign in with a Google account that has Super Admin access to Google Admin Console. This step is required only during the initial setup.

<Note>
  If the Google account used to set up the integration loses Super Admin access, syncs will fail. The account must regain Super Admin access, or the integration must be deleted and recreated using another Super Admin Google account.
</Note>

## Create a Sync Group

Each Sync Group defines which Google OU to pull teachers from, and optionally restricts those teachers' access to a specific set of students.

1. Go to the **Google Directory** tab in Integrations.

   <img src="https://mintcdn.com/goguardian/r1PejCysJBB6PfmM/images/screenshots/teacher/import-teachers-from-google-directory/step-02.png?fit=max&auto=format&n=r1PejCysJBB6PfmM&q=85&s=bff4c40e90c86be993a20614b45929ff" alt="Google Directory tab in Org Management Integrations showing existing sync groups and New Sync Group button" width="1440" height="900" data-path="images/screenshots/teacher/import-teachers-from-google-directory/step-02.png" />

2. Click **New Sync Group**.

   <img src="https://mintcdn.com/goguardian/r1PejCysJBB6PfmM/images/screenshots/teacher/import-teachers-from-google-directory/step-03.png?fit=max&auto=format&n=r1PejCysJBB6PfmM&q=85&s=3a5fbbeb2ef166cff7c38cdb7202137c" alt="New Sync Group form showing Teacher Directory, Restrict Access to Student Directories, and Nickname fields" width="1440" height="900" data-path="images/screenshots/teacher/import-teachers-from-google-directory/step-03.png" />

3. Configure the 3 options:

### Teacher Directory

Select the Google OU path where your teacher accounts are stored. GoGuardian creates or updates GoGuardian Teacher accounts for all users in that OU.

<Note>
  If you select an OU that contains sub-OUs, all users in those sub-OUs are included in the sync. Only one OU path can be selected per Sync Group, but you can create multiple Sync Groups for different paths.
</Note>

**Important:** Confirm that only teacher email addresses are in the selected OU. All email addresses in the OU will receive GoGuardian Teacher access. Accidentally including student accounts will grant them access.

### Restrict Access to Student Directories (Optional)

Turn on this toggle to limit which students the synced teachers can access. Select a Student Directory OU to automatically assign teachers access to students in that OU.

If you select **No Restrictions**, teachers receive full OU access and can view the activity of all students in the school.

<Note>
  Teachers who already have OU access assigned will have their current OU access replaced by the Student Directory OU selection after their first sync. OU access can be adjusted manually afterward without subsequent syncs overriding those changes.
</Note>

### Sync Group Nickname

Enter a name or ID for this Sync Group. Nicknames help you track different groups, especially if access changes throughout the school year.

## Run a Sync

Syncs run automatically each night. To sync immediately, click the **Sync All** button in the Google Directory tab.

## Review Sync Results

When a sync completes, the results and completion time appear in the **Integrations** tab under the Teachers drop-down menu. Full sync history is also available in the **Audit Log**, which can be filtered by integration source using the cogwheel.

## What Happens When Teachers Move OUs

If a synced teacher's account is moved to a Google OU that is outside the Sync Group's Teacher Directory, the teacher loses GoGuardian Teacher access the next time a sync runs. The same applies if you change a Sync Group's Teacher Directory to a different OU — teachers no longer included in any Sync Group lose access at the next sync.

## Resources

<CardGroup cols={2}>
  <Card title="Set Up Teacher Accounts" href="/products/teacher/set-up-teacher-accounts">
    Create accounts individually or by CSV if Google sync is not available.
  </Card>

  <Card title="Manage Users and Settings" href="/products/teacher/manage-users-and-settings">
    Edit account permissions and access after provisioning.
  </Card>
</CardGroup>
