Google Calendar Integration for Batches

Google Calendar Integration allows learners to automatically sync their class schedules with their personal Google Calendar. This ensures they receive reminders, stay organized, and never miss a session.

Enabling Google Calendar Integration (Admin Side)

Follow the steps below to set up Google Calendar integration for your batches:

Step 1: Go to Batch Settings

  • Log in to your Admin Dashboard, Select the batch to configure, then click the Settings button in the top-right corner.
Screenshot 2025-09-09 162500
  • A form will appear asking for two details: Client ID and API Key.
    👉 To get these, you’ll need to create credentials from Google Cloud Console.

Step 2: Enable Google Calendar API in Google Cloud Console

  • Open Google Cloud Console in a new tab. A Search bar will appear, In that search bar, type Google Calendar API.

Blog-Writing-Draft-Google-Docs-09-09-2025_04_38_PM

  • In the search bar, type Google Calendar API.

Blog-Writing-Draft-Google-Docs-09-09-2025_04_39_PM

Click on the result, then click the Enable button.

Blog-Writing-Draft-Google-Docs-09-09-2025_04_41_PM

Step 3: Create a New Project

When you enable the API, Google will ask you to link it to a project.

  • A popup will appear. Click on New Project (top-right corner).

Blog-Writing-Draft-Google-Docs-09-09-2025_04_43_PM

  • Enter the following details:

    • Project Name (e.g., “Learnyst Calendar Integration”)

    • Organization Name

    • Location

  • Click Create. Your new project will now be created.

Blog-Writing-Draft-Google-Docs-09-09-2025_04_45_PM

Step 4: Configure the OAuth Consent Screen

Before creating the credentials, you need to configure the consent screen:

  • Click on API & Services.

Blog-Writing-Draft-Google-Docs-09-09-2025_04_52_PM

  • Go to API & Services > Credentials. Click on Create Credentials

Blog-Writing-Draft-Google-Docs-09-09-2025_05_01_PM

  • Select OAuth Client ID.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_05_PM

  • You’ll first be asked to Configure Consent Screen. Click on it. 


Blog-Writing-Draft-Google-Docs-09-09-2025_05_08_PM

  • Click Get Started.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_11_PM

Fill in the following details:

  • App Name (example: “Learnyst Batches”)

  • User Support Email (your support email)

Blog-Writing-Draft-Google-Docs-09-09-2025_05_13_PM

  • In the Audience section, select External.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_15_PM

  • Add your contact email address.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_18_PM

  • Accept the terms and click Create.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_21_PM

Step 5: Create OAuth Client ID

Now that the consent screen is set, you can create the OAuth Client ID:

  • Go back to Credentials.

  • Click Create Credentials → Select OAuth Client ID.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_22_PM

  • In Application Type, select Web Application.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_25_PM

  • Enter a name (e.g., “Learnyst Calendar OAuth”).

Blog-Writing-Draft-Google-Docs-09-09-2025_05_26_PM-1

Scroll down to add the following:

  • Authorized JavaScript Origins → Enter your homepage URL (e.g., https://yourdomain.com)

  • Authorized Redirect URL → Enter your learner URL (e.g., https://yourdomain.com/learn)

  • Click Create.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_28_PM-1

A popup will appear with your Client ID and Client Secret.

  • Copy these and keep them safe. You’ll need the Client ID later.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_29_PM-1

Step 6: Create an API Key

  • While still in the Credentials section, click Create Credentials again.

  • Select API Key.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_30_PM

A popup will appear showing your API Key.

  • Copy this and keep it safe as well.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_32_PM

Step 7: Add the Credentials in Learnyst

Now that you have both credentials:

  • Go back to your Batch Settings in Learnyst.

  • Paste the Client ID and API Key in the respective fields.

  • Click Save.

Blog-Writing-Draft-Google-Docs-09-09-2025_05_34_PM

That’s it! You have successfully enabled Google Calendar integration for your batch.