Vendor

⌘K
  1. Home
  2. Docs
  3. Vendor
  4. Rentals & Bookings
  5. How do I integrate bookings with Google Calendar?

How do I integrate bookings with Google Calendar?

Syncing your bookings with Google Calendar is a great way to stay organised! Here’s how to do it.

Step One: Get Google Calendar Credentials.
    1. Visit the ↗ Google Developers Console.
    2. Click on Create Project from the top menu.
    3. Enter the Project Name (CuteMesh bookings, for example) and click Create.
    4. Once created, click on the project and search for “Google Calendar API” in the search bar at the top of the screen, then click on it.
    5. Click Enable to enable Google Calendar API for your email.
    6. Click the Create Credentials button.
    7. Select Google Calendar API from the “Which API are you using?” drop-down menu.
    8. Select Web Server (e.g. Node.js, Tomcat) from the “Where will you be calling the API from?” drop-down menu.
    9. Select User Data from the “What data will you be accessing?” options.
 
creating credentials

creating credentials

    1. Click Next.
    2. Complete the App Information by entering the App Name (CuteMesh bookings, for example), support email and developer email.
    3. Click Save and continue.
    4. Ignore the “Scopes” section by clicking Save and continue.
    5. Select Web application from the application type drop-down menu.
    6. Enter cutemesh.com as the Name.
    7. Click add URI under ”Authorised JavaScript origins”.
    8. Enter https://cutemesh.com in the textbox provided.
    9. Click add URI under “Authorised redirect URIs”.
    10. Enter https://cutemesh.com/wc-api/phive_booking_google_calendar_dokan/ in the textbox provided.
 
creating oAuth Client ID

creating oAuth Client ID

    1. Click Create.
    2. Click Done.
    3. Then click the Name (cutemesh.com for example) to display and copy your Client ID and Client Secret keys.
 
google calendar keys

google calendar keys

    1. Lastly, click OAuth consent screen from the left menu (underneath “Credentials”) and click Publish app, then click confirm.
 
publishing the app

publishing the app

     

    Step Two: Find your Google Calendar ID.
    1. Visit the Google calendar that you would like to integrate with CuteMesh.com (either on your phone or desktop).
    2. Navigate to the calendar’s settings.
    3. Scroll down to find the Calendar ID and copy it.
     
    calendar ID

    calendar ID

     

    Step Three: Add and Validate Credentials with CuteMesh.com Bookings.
      1. Visit the ↗ Google Calendar page of your Vendor dashboard.
      2. Tick the “Enable” checkbox.
      3. Copy and paste your credentials into the corresponding Calendar ID, Client ID and Client Secret textboxes.
     
    google calendar settings

    google calendar settings

      1. Click the Validate Credentials button.
      2. If everything is correct, you will be redirected to a Google Allow Access page where you have to sign in with your Google account. Click the appropriate account and then click Allow.
     
    grant permission

    grant permission

      1. You should now see a message that indicates the credentials are successfully authenticated.
     
    successfully authenticated

    successfully authenticated

    1. Click Save Changes.

    Now when you receive a booking, it will appear it your calendar, along with all of the important details.

     
    google calendar booking

    google calendar booking

    How can we help?