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
- 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
- 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.
- 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/
- 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.
- 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
- 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.
- 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.
- 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.