How to connect Google Calendar to Slotsync

Slotsync books against your own Google Calendar. To let it do that, you connect your Google account once. It takes about ten minutes, and you only do it a single time.

Prefer not to do this yourself? Slotsync Pro connects Google with a single click, and none of the steps below apply. This guide covers the free, do-it-yourself path.

Before you start

  • A Google account with the calendar you want to take bookings on
  • Admin access to your WordPress site
  • Slotsync installed and activated, alongside Gravity Forms

Keep this guide open in one tab and the Google Cloud Console in another.

Part 1: Create a Google project

  1. Go to the Google Cloud Console and sign in.
  2. At the top, click the project dropdown, then New Project.
  3. Name it something you’ll recognize, like My Site Bookings, and click Create.
  4. Make sure that new project is selected in the top bar before you continue.

Part 2: Turn on the Calendar API

  1. In the left menu, go to APIs & Services > Library.
  2. Search for Google Calendar API and click it.
  3. Click Enable.

Part 3: Set up the consent screen

This is the permission screen your own account sees when connecting.

  1. Left menu: Google Auth Platform > Branding.
  2. Click Get started.
  3. App Information: App name plus your User support email. Next.
  4. Audience: choose External. Next.
  5. Contact Information: your email for Google’s notices. Next.
  6. Finish: agree to the User Data Policy, Continue, then Create.

Part 4: Keep the connection from expiring (important)

While your app is in “Testing” mode, Google expires the connection after 7 days, so your bookings would quietly stop syncing. To make it permanent:

  1. Back on the OAuth consent screen, find Publishing status.
  2. Click Publish app and confirm.
  3. Because you are using a calendar permission on your own account, Google may show an “unverified app” notice. For your own use this is completely fine, so you can proceed. Full verification only matters if you distribute the app to other people.

If you skip this step, you would have to reconnect Slotsync every week. Publishing avoids that.

Part 5: Create your credentials

  1. Go to Google Auth Platform > Clients and click Create client. (In older layouts this is APIs & Services > Credentials > Create credentials > OAuth client ID.)
  2. Set Application type to Web application.
  3. Under Authorized redirect URIs, click Add URI and paste the exact URL Slotsync shows on its settings screen (Forms > Settings > Slotsync, Step 1). It looks like this: https://yoursite.com/wp-admin/admin-post.php?action=slotsync_oauth
  4. Click Create. In the OAuth client created dialog, click Download JSON, then OK. That file holds your credentials. Save it somewhere safe, because Google will not show the client secret again after you close the dialog.

Part 6: Connect Slotsync

  1. In WordPress, go to Forms > Settings > Slotsync.
  2. Open the JSON file you downloaded, copy all of it, and paste it into the Step 2 box.
  3. Click Save credentials.
  4. Click Connect with Google and approve access. If you see the “unverified app” screen, click Advanced > Go to [your app] to continue.
  5. You will return to a screen that says Connected. Your form and calendar are now linked.

Your credentials are stored encrypted in your site’s database, never in a file that can be reached from the web.

Part 7: Find your Calendar ID

When you build a booking form, you will paste in a Calendar ID:

  1. In Google Calendar, hover the calendar you want, click the menu, and choose Settings and sharing.
  2. Scroll to Integrate calendar and copy the Calendar ID.

Your main calendar’s ID is usually your email address.

Troubleshooting

  • “redirect_uri_mismatch”: the redirect URI in Google must match the one Slotsync shows exactly, including https and with no trailing slash. Copy and paste it. Do not type it.
  • “Access blocked” or “app isn’t verified”: click Advanced > Go to [your app] to continue. For a permanent fix, publish the app (Part 4).
  • “Couldn’t reach Google Calendar” later on: the connection lapsed, often because of the 7-day testing limit. Reconnect, and publish the app if you have not.
  • Nothing happens after Connect: make sure your Google account was added as a test user (Part 3), or that the app is published (Part 4).

Still stuck? Email support@allydrez.com.