Google Workspace Configuration for flexEZ Integration

Google Workspace Configuration for flexEZ Integration

Set up your Google Workspace (formerly G Suite) in a few steps.
  1. Activate Google Calendar APIs
  2. Create a Service Account
  3. Create Resources
  4. Grant Access to Resource Calendars
  5. Register and Verify Domain

Public DNS

flexEZ receives notifications coming from Google Workspace servers over port HTTP/S.
If you are running on-premise behind firewalls, a public DNS for incoming requests is essential so that Google Workspace API can publish notifications to flexEZ.
Alternatively a tunneling solution may be an appropriate option depending on your company's network policies.

Activate Google Calendar APIs

Create a new project or select an existing one.

Enable API Access

In the API & Services left menu pane, click Library to browse the list of APIs.

In the Google Apps APIs list, click Calendar API, then Enable.

Go back to the APIs Library, and select Admin SDK API, then Enable.

Create a Service Account

in the APIs & Services left menu pane, click Credentials.

Click Create Credentials.
Select Service account from the list.

Name the service account "flexEZ Service" (or any other name you find suitable).
Click Done on the last step (and skip the optional steps).

Click edit button to open the newly created service account.

in the Keys section at the bottom of the screen, click ADD KEY and Create new key.
Make sure the JSON option is selected for key type.

Click Create to create and download the key file. This file will be later uploaded onto flexEZ.

Authorize Domain-wide Delegation

From Service account details page, click Enable G suite Domain-wide Delegation.

Click Save.
After you’ve enabled Domain-wide Delegation, the system will create an OAuth 2.0 Client ID, note down this Client ID for the next step.





Authorize Calendar APIs

Navigate through Security > API Controls (at the bottom of the page).
In the Domain wide delegation, click Manage Domain-Wide Delegation.
Click Add new.
Enter the Client ID from the previous step.
In the OAuth Scopes field, enter both of the following URLs and separate them with a comma:

Create Resources

To create room resources, go to Buildings and resources at https://admin.google.com/ac/calendarresources
Click Resource management and add new resources.
For each resource, note down the resource email address as this will be needed for flexEZ configuration.

For more information, please refer to the Google documentation at https://support.google.com/a/answer/1033925?hl=en

Grant access to Resource Calendars

Last step of the configuration requires an admin account to share calendar permissions with the service account created previously.
Login as an admin, and go to your calendar
Under Other calendars, click add others calendar, select Browse resources

Add the nedeed resources by checking the box

Under Settings for my calendars, select a resource calendar and click Share with specific people.
Click Add people, and enter the flexEZ Service account email address, with permission Make changes to events, and click Send.

Repeat this operation for all your resource calendar, and you're done!

Register and Verify Domain

To comply with Google policies and abuse-prevention measures, you must register the domain that will be sync with your Google Workplace account.

Verify the domain

Open the Search Console at https://www.google.com/webmasters/tools
In the Domain property type, input the domain you want to register (domain will be provided by your local FlexO representative), and click Continue

In the verify domain ownership via DNS record, select Instruction for: Any DNS provider, and copy the TXT record and provide it to your local flexEZ representative.

Click Verify once your local flexEZ representative confirms that the TXT record has been added to the domain records.
Or click Verify Later to perform this step at a later time.

Register the domain

Click Add domain and enter the domain you want to register, and click Add Domain.

Domain will be added to the list of your verified domain.
For more information, please refer to the Google documentation at https://developers.google.com/calendar/v3/push#registering-your-domain
    • Related Articles

    • Google Workplace Configuration for FlexO Integration

      Set up your Google Workplace (formerly G Suite) in a few steps. Activate Google Calendar APIs Create a Service Account Create Resources Grant Access to Resource Calendars Register and Verify Domain Public DNS FlexO receives notifications coming from ...
    • Google Workspace Configuration for flexEZ Authentication

      Set up your Google Workspace (formerly G Suite) in a few steps. Google Workspace Configuration Go to https://console.developers.google.com Open your existing project and go to APIs & Services then Credentials Click on Create Credentials then select ...
    • Microsoft 365 Configuration for flexEZ

      Prerequisites 1. Administrator account to Azure: https://portal.azure.com/ 2. Administrator account to Office 365: https://outlook.office365.com/ecp/ 3. Administrator account to flexEZ 4. Access to Powershell console as an administrator 5. Public DNS ...
    • Teams plugin Configuration for flexEZ

      Prerequisites 1. Administrator account to Microsoft Office365: https://admin.microsoft.com Microsoft 365 Configuration (as an administrator) Teams Configuration Connect to the Microsoft O365 administration console via https://admin.microsoft.com On ...
    • Office 365 Configuration for FlexO Integration (Graph)

      Prerequisites 1. Administrator account to Azure: https://portal.azure.com/ 2. Administrator account to Office 365: https://outlook.office365.com/ecp/ 3. Administrator account to FlexO 4. Access to Powershell console as an administrator 5. Public DNS ...