Google Calendar Credentials Generate - WorkDo.io

Google Calendar Credentials Generate

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

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 https://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., calendar-api@your-project.iam.gserviceaccount.com)
  • 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:
    • yourcalendar@gmail.com
    • or abc123@group.calendar.google.com
Contact Us

Reach Out to Us

Have questions or need assistance? We're here to help! Reach out to our team for support, inquiries, or feedback. Your needs are important to us, and we’re ready to assist you!

money-back-img
money-back-img

Need more help?

If you’re still uncertain or need professional guidance, don’t hesitate to contact us. You can contact us via email or submit a ticket with a description of your issue. Our team of experts is always available to help you with any questions. Rest assured that we’ll respond to your inquiry promptly.

Love what you see?

Do you like the quality of our products, themes, and applications, or perhaps the design of our website caught your eye? You can have similarly outstanding designs for your website or apps. Contact us, and we’ll bring your ideas to life.

WorkDo Custom Services