Gig management for working musicians

Google Calendar Sync

Google Calendar Sync

Keep your Google Calendar automatically in sync with your gig diary. Add, update, or cancel a gig and the calendar updates instantly.

Starter licence required Google Calendar sync requires a Starter licence or above. See Activating your licence if you haven’t already done so.

How it works

PB Gig Diary connects to Google Calendar using a service account — a special Google account that allows server-to-server communication without requiring you to log in each time. When you save a gig, PB Gig Diary automatically creates or updates the corresponding event in your calendar. Cancellations delete the event.

Setup overview

Setup involves three steps in Google Cloud Console, then entering the credentials in PB Gig Diary:

  1. Create a Google Cloud project
  2. Enable the Google Calendar API
  3. Create a service account and download the credentials file
  4. Share your calendar with the service account
  5. Enter the credentials in PB Gig Diary

Step 1 — Create a Google Cloud project

  1. Go to console.cloud.google.com and sign in with your Google account
  2. Click Select a project at the top, then New Project
  3. Give it a name — e.g. Gig Diary — and click Create

Step 2 — Enable the Google Calendar API

  1. In the Google Cloud Console, go to APIs & Services → Library
  2. Search for Google Calendar API and click on it
  3. Click Enable

Step 3 — Create a service account

  1. Go to APIs & Services → Credentials
  2. Click Create Credentials → Service account
  3. Give it a name — e.g. Gig Diary Sync — and click Create and continue
  4. Skip the optional role and user access steps — just click Done
  5. Click on the service account you just created, then go to the Keys tab
  6. Click Add Key → Create new key, choose JSON, and click Create
  7. A JSON file will download to your computer — keep this safe, you’ll need it shortly
Keep your credentials file secure The JSON file gives access to your Google Calendar. Don’t share it or commit it to version control. Store it somewhere safe.

Step 4 — Share your calendar with the service account

  1. Open the downloaded JSON file in a text editor and find the client_email field — it will look like gig-diary-sync@your-project.iam.gserviceaccount.com
  2. Go to Google Calendar and find the calendar you want to sync with
  3. Click the three dots next to the calendar name and choose Settings and sharing
  4. Scroll to Share with specific people and click Add people
  5. Enter the client_email address from the JSON file and set permission to Make changes to events
  6. Click Send
Tip You can create a dedicated calendar just for gigs — e.g. “Band Gigs” — rather than using your main personal calendar. This keeps things organised and makes it easy to share with band members.

Step 5 — Enter credentials in PB Gig Diary

  1. Go to Gig Diary → Settings → Google Calendar
  2. Paste the entire contents of your JSON credentials file into the Service Account JSON field
  3. Enter your Calendar ID — find this in Google Calendar under Settings → your calendar → Integrate calendar. It usually looks like an email address.
  4. Click Save Settings
  5. Click Test connection to verify everything is working

Calendar event details

Each gig creates a calendar event with the following information:

Calendar fieldSource
TitleArtist name @ Venue name, City. Provisional gigs are prefixed with [Provisional].
Date / TimeGig date and time. All-day if no time is set (configurable).
LocationFull venue address
DescriptionAge restriction, admission, public notes, venue phone
ColourConfigurable per artist in Settings → Google Calendar

What triggers a sync

  • Save gig — creates or updates the calendar event
  • Cancel gig — deletes the calendar event
  • Delete gig — deletes the calendar event
  • Hide from calendar ticked — removes the event from calendar

Troubleshooting

Test connection fails

Check that the service account email has been shared with the calendar with Make changes to events permission. Also verify the Calendar ID is correct — it’s found under Google Calendar → Settings → your calendar → Integrate calendar.

Events aren’t appearing in the calendar

Make sure Hide from calendar is not ticked on the gig. Also check that the gig status is not set to Cancelled — cancelled gigs don’t create calendar events.

Getting a “permission denied” error

The service account doesn’t have permission to write to the calendar. Re-check the sharing settings in Google Calendar and make sure the permission level is Make changes to events, not just See all event details.