Skip to main content

Google calendar credentials generate

  Updated May 2026Mewayz

Google Calendar Credentials Generate

How to generate Google Calendar ID and Google Calendar JSON for Calendar Step 1: Open […]

Demo URL

How to generate Google Calendar ID and Google Calendar JSON for Calendar

Step 1: Open Google Cloud Console

Step 2: Create or Select a Project

  • At the top menu, click the project dropdown.
  • Click “New Project” if you don’t have one.
  • Enter a Project name, then click Create.

Step 3: Enable Google Calendar API

  • In the left sidebar, go to APIs & Services > Library
  • Search for “Google Calendar API”
  • Click it, then press Enable

Step 4: Create Service Account Credentials

  • Go to APIs & Services > Credentials
  • Click + Create Credentials > Service account
  • Fill in:
  • Name (e.g., calendar-service)
  • Description (optional)
  • Click Create and Continue
  • (Optional) On the “Grant access” step, just click Done

Step 5: Download the JSON Key File

  • After creating the service account, you’ll see it listed.
  • Click the service account name
  • Go to the Keys tab
  • Click Add Key > Create new key
  • Choose JSON → Click Create
  • A .json file will download automatically. Keep it safe.
  • This JSON contains:
  • client_email (important!)
  • private_key
  • Other OAuth credentials.

Step 6: Create a New Google Calendar

  • Go to calendar.google.com
  • On the left, click the + icon next to “Other calendars”
  • Choose Create new calendar
  • Set:
  • Name (e.g., API Events)
  • Description (optional)
  • Click Create calendar

Step 7: Share Calendar Access with Service Account

  • Select your new calendar in the left sidebar
  • Click the Settings icon ⚙️ > Settings
  • Scroll to “Share with specific people or groups”
  • Click + Add people and groups
  • Paste the client_email from your JSON file (e.g., [email protected])
  • Set permission to: Make changes and manage sharing
  • Click Send
  • Now, your service account has write access to the calendar.

Step 8: Get the Calendar ID

  • Still in Calendar Settings
  • Scroll to the “Integrate calendar” section
  • Copy the Calendar ID — it looks like:

Loading...

Please wait while we prepare your webapp...