13 Calendar View Setup
The Calendar view shows your approved bookings
…displayed in a weekly, or monthly calendar view
When you select a calendar entry, you will see more info about that booking
How to set up the Calendar View
NOTE: You can only create new calendars from a browser, and not from the Google Calendar app, or from the system’s ‘Calendar Panel’.
Once the calendar is created, you’ll see it on your browser, in the Google Calendar App and the system’s ‘Calendar Panel’.
Also, Google seems to change these screens more often than we would like. So if the instructions below do not exactly match a screen you see, please write down the differences and let us know the changes we should make. Thanks.
Set up a new calendar
First, in your browser go to your browser settings and make sure ‘popups’ are allowed. (After your calendar is working, you can block popups again if you wish.)
If you do not have business related Google account, log out of your personal Google account and create a new business related Google account.
- On your computer, log in to your business Google account and open your business Google calendar.
- On the left side, above “My calendars,” click Add other calendars Add and then New calendar
- Add a name and description for your calendar. For example ‘Bookings’
- Click Create calendar
Next sign into the Google Developer Console HERE
Select the ‘Google Calendar API’ in the ‘G-Suite’ row
Select ‘Create Project’ (Select ‘Enable’ or ‘Manage’depending on if you are already using the calendar API)
Next, give your project a name. For example, ‘viptaxipro-bookings’
Next, select the Tab ‘OAuth consent Screen’
Enter your company email address (as used in your Booking System)
In the ‘Product name shown to users’ enter your Company name
In the ‘Credentials’ tab, select ‘Create credentials’ and select ‘OAuth consent Screen’
Again, in the ‘Credentials’ tab, select ‘Create credentials’ and select ‘API key’
In the ‘Credentials’ tab, under the ‘OAuth…’ section, select ‘Web client 1’ or what is displayed on your screen.
At the top of the screen, first
Copy the Client ID code into Client ID field in the ‘Google Calendar’ section in the Company panel in your Booking System
Next, do the same with the ‘Client secret’ code.
Your pasted URL’s should look something like those in the image below (note the suffixes).
Back at Google, under ‘Restrictions’, in the ‘Authorised redirect URIs’, paste in the following URL:
Returning to the Credentials’ tab
In the ‘Credentials’ tab, under the ‘API keys’ section, select ‘API key 1’ or what you have displayed
Copy the API key into the Calendar ID field in the ‘Google Calendar’ section in the ‘Company’ panel in your Booking System
Next, return to your Google calendar, click HERE
Hover over your new calendar name in the left column and select the three vertical dots
Select ‘Settings and sharing’, then scroll down the options to the ‘Integrate calendar’.
Find ‘Embed code’ and copy the iframe code. Tip: On a PC press ‘ctrl’ and ‘a’ to select all the text. Then’ctrl’ and ‘c’ to copy the code.
Paste the code into the ‘Iframe Code’ field in the Calendar section of ‘Company’ panel of your booking system.
Making sure you have popups enabled in your browser, select the ‘Connect button just below where you have just pasted the iframe code.
Up will come a pop-up window asking you to select your Google account. Once selected, select ‘Allow’.
Now go the ‘Calendar’ panel and you should see your new empty calendar.
Adjusting the size of your calendar
Depending on your screen size, you may wish to resize the calendar.
To do this go back to the ‘Company’ panel and look at the iframe code you pasted in earlier. You will see in the code some parameters like width=”800″ height=”600″.
Adjust those numbers to get the calendar to display the size that suits your screen.
For the changes to take effect you will have to select ‘Connect’ then choose your email account, then select ‘Allow’ in the pop-up, close the pop-up and finally refresh the calendar panel.
NOTE: At first the calendar will not show any bookings. Although a disappointment, it does not mean you have done anything wrong.
The new calendar will only display new bookings that are made from now onwards, and only bookings that have been accepted (in other words they are confirmed bookings).
Approved bookings already on the system will not be displayed.
Also, to view the calendar on the system, you must be logged into the Google calendar in a separate tab.
Go to the Reservations or Clients panel and make a test booking, then accept the booking. You should then see it displayed in your newly created calendar.
You can select a booking on the calendar to see the job details.
Since the Google calendar itself gives more viewing options, you might find it easier to use that display. Both calendars are now synced and will display the same information.
Well done, you are now a Google developer!