Configuration import of Google Calendar Events

01. To get Google Calendar API key please follow this instruction:

  1. Go to Google Developer Console: https://console.developers.google.com. And then click on Google Calendar API link.

    api-01

  2. Click "Create Project".

    api-02

  3. Give your project a name and click "Create".

    api-03

  4. Click on Enable button.

    api-04

  5. In the sidebar click on "Credentials".

    credentials-01

  6. Click on "Create credentials" to expand dropdown list and select "API Key".

    credentials-02

  7. On the popup click the button "Server Key".

    credentials-03

  8. Enter Name of your API Key and click on "Create" button

    credentials-04

  9. Copy "API Key" and paste it into Google API Key field at Booking > Settings > Import > Google Calendar Events Import page in your WP admin panel.

    credentials-05


02. Set Your Calendar to Public:

  1. Navigate to your Google calendars.

  2. Open the settings for the calendar.

    cal-1

  3. Click the "Share this Calendar" link.

    cal-2

  4. Click the checkbox to make calendar public. Do not check the other option.

    cal-3


03. Find Your Calendar ID:

  1. Navigate to your Google calendars.

  2. Open the settings for the calendar.

    cal-1

  3. Now copy the Calendar ID to use in the Booking > Settings > Import > Google Calendar Events Import page in your WP admin panel for "Calendar ID" field(s). Make sure to use the Calendar ID only, not the entire XML feed URL.

    cal-4


04. Test Import of Google Calendar Events:

  1. Open your WordPress admin panel and Navigate to Booking > Settings > Import > Google Calendar Events Import page.

  2. Paste your Google API Key and Google Calendar ID into specific fields. Important! Please be sure that you do not paste any white spaces at the beginning or ending of API Key or Google Calendar ID. Save the changes.
    In the paid versions of Booking Calendar you can assign at this page different Google Calendar ID for the different booking resources.

    wpbc-01

  3. Open Booking Listing page and switch to the "Actions toolbar", then click on "Import" button.

    wpbc-02

  4. In popup dialog configure your parameters (during first test import, please be sure that you selected time interval, where for sure exist your Google Calendar Events). And then click on Import button.

    wpbc-03

  5. You have to see your imported events. Reload the page to see them as bookings.

    wpbc-04