Skip to content
Book a demoStart free
Connectors

Google Classroom connector

Set up the Google Classroom connector in Kaivo: authentication, configuration, the 6 BigQuery tables it syncs, and answers to common questions.

Google Classroom connector pricing, tier and credits on kaivo.io

Kaivo is a fully managed data platform that syncs your Google Classroom data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your data from Google Classroom instead of moving it.

Sync your Google Classroom data into BigQuery with Kaivo to analyse courses, assignments, and student progress.

CategoryOther
AuthenticationAPI key
SetupSelf-service

Getting started with the Google Classroom connector

Section titled “Getting started with the Google Classroom connector”
  1. Sign up for Kaivo and create a workspace.
  2. Connect your Google Classroom account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticate with your Google Classroom credentials. You provide:

Field Description
OAuth Client ID
OAuth Client Secret
Refresh Token

Prerequisites

Google Classroom requires you to set up your own Google Cloud OAuth application to obtain credentials:

  1. In the Google Cloud Console, create a project and enable the Google Classroom API.
  2. Under APIs & Services → Credentials, create an OAuth 2.0 Client ID (Desktop or Web App type) and note the Client ID and Client Secret.
  3. Complete the OAuth authorization flow once to obtain a Refresh Token (see Google’s OAuth guide).

Then enter those values below.

Need help, or want an easier way to connect? Reach our team via the chat in the bottom-right corner.

Tables and columns synced from Google Classroom

Section titled “Tables and columns synced from Google Classroom”

Kaivo syncs 6 tables from Google Classroom into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

announcements (11 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
alternate_link STRING
assignee_mode STRING
course_id STRING
creation_time STRING
creator_user_id STRING
id STRING
state STRING
text STRING
update_time STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
courses (18 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
alternate_link STRING
course_group_email STRING
course_state STRING
creation_time STRING
enrollment_code STRING
gradebook_settings__calculation_type STRING
gradebook_settings__display_setting STRING
guardians_enabled BOOL
id STRING
name STRING
owner_id STRING
teacher_folder__alternate_link STRING
teacher_folder__id STRING
teacher_folder__title STRING
teacher_group_email STRING
update_time STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
coursework (14 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
alternate_link STRING
assignee_mode STRING
course_id STRING
creation_time STRING
creator_user_id STRING
id STRING
max_points FLOAT64
state STRING
submission_modification_mode STRING
title STRING
update_time STRING
work_type STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
students (8 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
course_id STRING
profile__id STRING
profile__name__family_name STRING
profile__name__full_name STRING
profile__name__given_name STRING
user_id STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
permission STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
studentsubmissions (12 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
alternate_link STRING
course_id STRING
course_work_id STRING
course_work_type STRING
creation_time STRING
id STRING
short_answer_submission__answer STRING
state STRING
update_time STRING
user_id STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: studentsubmissions__submission_history

Section titled “Subtable: studentsubmissions__submission_history”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
state_history__actor_user_id STRING
state_history__state STRING
state_history__state_timestamp STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
teachers (8 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
course_id STRING
profile__id STRING
profile__name__family_name STRING
profile__name__full_name STRING
profile__name__given_name STRING
user_id STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
permission STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Google Classroom supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won’t get duplicate rows.

How long does the initial sync take for Google Classroom?

Section titled “How long does the initial sync take for Google Classroom?”

It depends on how much history is in your Google Classroom account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they’re much faster.

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don’t select are never copied to your warehouse.

What happens when Google Classroom’s schema changes?

Section titled “What happens when Google Classroom’s schema changes?”

New fields are never added automatically. You choose which fields to sync, so data you haven’t selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table’s sync mode: full-refresh tables always match what’s currently in Google Classroom, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Section titled “How do I handle GDPR or data deletion requests?”

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Google Classroom instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Google Classroom connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Google Classroom data

Section titled “Common use cases for Google Classroom data”

Use coursework and studentsubmissions to track assignment completion over time.

Join courses with teachers and students to report on enrolment.

Use announcements and submissions to measure participation across courses.

Use Google Classroom data in your AI and BI tools

Section titled “Use Google Classroom data in your AI and BI tools”

Once Google Classroom data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here’s how the most common destinations work with Google Classroom data.

Use Kaivo’s MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Microsoft’s BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

The premium analytics standard, with native BigQuery integration. Setup guide →

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Connect via Power Query’s BigQuery connector. Setup guide →

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for Google Classroom connector pricing and plan details.