Connecting to Google Calendar

Syncing your store’s bookings with Google Calendar ensures that your schedules are always up-to-date and helps manage your time effectively. This guide provides detailed steps to connect your Red OnX booking system to Google Calendar using either a direct connection or a custom Google Calendar app.

Accessing Calendar Connection Settings

  1. Navigate to Calendar Connection Settings:
    • From the main dashboard, click on Bookings in the left-hand menu.
    • Select Settings, then click on the Tab: Calendar Connection.

Connecting with Google Calendar

  1. Authorize with Google:
    • Click the Connect with Google button. This will prompt you to sign in to your Google account and authorize access.
    • Follow the on-screen instructions to complete the connection.

Connecting with a Custom Google Calendar App

For advanced users who want to use a custom Google Calendar app, you can connect using your own credentials. This allows more control over the integration, especially for specific business needs.

  1. Set Up Your Google Calendar API:
    • Go to your Google Cloud Platform and create a new project if you haven’t already.
    • Enable the Google Calendar API for your project.
    • Set up OAuth 2.0 credentials by creating a new Client ID and Client Secret.
    • In the Authorized Redirect URIs, add the provided link:
      https://yourdomainname.com/ws-api/ws_bookings_google_calendar/
  2. Enter API Credentials:
    • Client ID: Enter the Client ID from your Google Cloud project.
    • Client Secret: Enter the Client Secret from your Google Cloud project.
  3. Authorize the Connection:
    • Once you’ve filled out the required fields, the system will prompt for authorization. Complete the authorization to establish the connection.

Additional Settings

  1. Deletion Preference:
    • Check the box labeled Delete Events from Google Calendar to automatically remove events from Google Calendar when the corresponding booking is deleted from your store.
  2. Debug Log:
    • Check Enable logging to record Google Calendar events such as API requests and responses. Logs are saved to the specified file path and can be used for troubleshooting.
  3. Overwrite Description:
    • Check Enable overwrite if you want changes made to event descriptions within the booking system to replace those on Google Calendar. Note that any direct edits made in Google Calendar will be lost when data is synced.

Saving Your Settings

  • After configuring the settings, click the Save Changes button to apply your connection preferences.

Relevant Documentation