Connect Google Workspace
With Google Workspace connected, Occulights releases room bookings when nobody shows up (ghost meeting removal), and books a room when people walk into it without a booking (auto-booking). Occulights talks to your room calendars through the Google Calendar API, using a service account you create and give domain-wide delegation.
What you need
Section titled “What you need”- Admin access to the Google Cloud console and the Workspace Admin console
- Your meeting rooms as resource calendars in Google Workspace
- Admin access to the Occulights platform at app.occulights.com
1. Enable the Google APIs
Section titled “1. Enable the Google APIs”- In the Google Cloud console, create a project or choose an existing one.
- Go to APIs & Services → Library.
- Enable the Google Calendar API.
- Enable the Admin SDK API. Occulights uses it to list your room calendars.
2. Create the service account
Section titled “2. Create the service account”- Go to IAM & Admin → Service Accounts and click Create service account.
- Give it a name, for example
occulights-integration. It needs no project roles. - Open the service account and copy its Unique ID, a long number. You need it in step 3.
- Go to Keys → Add key → Create new key, choose JSON and download the file.
If creating the key is blocked, your organisation enforces the policy iam.disableServiceAccountKeyCreation. An
organisation policy admin has to allow keys for this project under IAM & Admin → Organization policies.
3. Grant domain-wide delegation
Section titled “3. Grant domain-wide delegation”-
In the Workspace Admin console, go to Security → Access and data control → API controls.
-
Click Manage domain wide delegation, then Add new.
-
Under Client ID, paste the Unique ID from step 2.
-
Under OAuth scopes, paste:
https://www.googleapis.com/auth/calendar,https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly -
Click Authorize.
Delegation lets Occulights act as users in your Workspace. It acts as the user you choose in step 4 to read room calendars. It acts as a meeting’s organizer to shorten, release or extend that meeting, because only an organizer’s changes reach the other attendees.
4. Choose the user Occulights acts as
Section titled “4. Choose the user Occulights acts as”Pick a Workspace user, for example a dedicated occulights@yourcompany.com. This user:
- Must be able to make changes to events on your room calendars. Share each resource calendar with the user in Google Calendar, under the calendar’s Settings and sharing.
- Needs an admin role that can read calendar resources for Occulights to list your rooms. Without it, type each room’s calendar address yourself in step 6.
5. Add the credentials in Occulights
Section titled “5. Add the credentials in Occulights”- Go to app.occulights.com and sign in as an admin.
- Open Integrations, click the + icon and choose Google Calendar.
- Fill in a name and the e-mail address of the user from step 4.
- Open the JSON key file from step 2 in a text editor, paste all of it under Service account key, and save.
The integration shows Verified once Occulights can sign in. If it shows a problem instead, hover over it for what to do.
6. Set up each room
Section titled “6. Set up each room”The credentials connect Occulights to your Workspace. Each room then needs its own settings, so Occulights knows which calendar belongs to it and how to act.
- Open Rooms, click the room and go to the Integration tab.
- The tab says the calendar integration isn’t set up yet? Add the credentials first (step 5).
- The tab is greyed out? The room is run by Cisco Spaces sensors, which don’t use bookings.
- Under Choose your integration, pick the credentials from step 5.
- Under Pick a room calendar, choose the room. Or type its address under Room calendar address. You’ll find it
in the Admin console under Directory → Buildings and resources → Resource management, and it looks like
c_123@resource.calendar.google.com. - Fill in the settings below and save.
| Setting | What it does |
|---|---|
| Time before a meeting to indicate the room as booked | How long before a meeting starts the Occu-Light shows booked soon (blue). Up to 600 seconds. |
| Time before un-booking a no-show | How long after a meeting starts, with nobody in the room, before the booking is shortened and marked “(No Show)”. This is ghost meeting removal. Up to 600 seconds. |
| Time before releasing a booked room early | How long the room must be empty during a meeting before the rest of the booking is released. Up to 600 seconds. |
| Time before auto-booking event is created | How long people must be in an unbooked room before Occulights books it. Up to 600 seconds. |
| Auto booked meetings duration | How long an auto-booking lasts. It is extended while the room stays occupied. Up to 3600 seconds. |
| Auto booking email subject name | The meeting title Occulights uses for auto-bookings, for example Booked by Occulights. |
The auto-booking, no-show and early-release settings need an Occu-Hub in the room, because they act on whether people are there. A room with only an Occu-Light follows its bookings: Occupied while a meeting is on, Free otherwise.
Meetings organized outside your Workspace
Section titled “Meetings organized outside your Workspace”Occulights can only act as users in your own Workspace. When a meeting’s organizer is outside it, a no-show or early release can’t change the meeting itself. Occulights instead removes it from the room’s calendar and adds a new entry there with the same title and start, and the shorter end. The room is free again, and the original meeting stays unchanged in the attendees’ calendars.
That’s it. Questions? Contact support.