# Setup

<figure><img src="https://627748108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0shDrJltbdGiCRz6ip4Z%2Fuploads%2FUsNLO0tsEeK8MZJS6pQx%2Fgoogleworkspace.png?alt=media&#x26;token=262755d9-52af-4d3e-922d-970d9153ba0b" alt=""><figcaption></figcaption></figure>

### Introduction

UMA allows you to connect to your own Google Workspace tenant using the Google API to sync users and resources.

{% hint style="info" %}
You will need your Google Workspace global admin to carry out the steps below.
{% endhint %}

### Permissions

To understand the permissions required for the UMA Vision application click [here](https://support.meetuma.ai/uma-knowledgebase/integrations/calendar/microsoft-365/global-admin-requirements).

### Getting started

To get started, navigate to your Google Workspace admin console.

* Head to the security settings and find 'Manage Domain Wide Delegation' under 'Access Data Control' and 'API Controls'.
* Click 'Add New'.
* Insert the following Client ID: **103562150091217457953**
* Insert the following scopes: (each on a separate line)\ <mark style="color:blue;"><https://www.googleapis.com/auth/calendar></mark>\ <mark style="color:blue;"><https://www.googleapis.com/auth/admin.directory.resource.calendar></mark>\ <mark style="color:blue;"><https://www.googleapis.com/auth/admin.directory.group.readonly></mark>\ <mark style="color:blue;"><https://www.googleapis.com/auth/admin.directory.group.member.readonly></mark>\ <mark style="color:blue;"><https://www.googleapis.com/auth/admin.directory.user.readonly></mark>
* Click 'Authorise'.

### Create a booking account

{% hint style="info" %}
A booking account is required for our application to create bookings on behalf of users.
{% endhint %}

{% hint style="info" %}
We recommend using a generic email address such as <booking@yourcompany.com> as this account will not need to be logged into and will be easier to identify.
{% endhint %}

* Create a new Google Workspace user - e.g. <booking@yourcompany.com>.
* Click on the newly created user/booking account and navigate to admin roles and privileges.
* Ensure this user is given the super admin permissions role.

### Continue setup in UMA

* Click on the Google button on the log in page [here](https://vision.meetuma.ai).
* Sign in with your Google Workspace admin account.
* Configure company settings.
* Configure your user preferences.
* Connect your Google calendar from the integrations page.
* Confirm that the instructions presented have been completed.&#x20;
* Enter in the booking account created above - e.g. <booking@yourcompany.com>.
* Connect.

### Add resources

To create resources in Google Workspace follow the guide [here](https://support.meetuma.ai/uma-knowledgebase/integrations/calendar/google-workspace/add-resources).

To import your Google Workspace resources into UMA follow the guide [here](https://support.meetuma.ai/uma-knowledgebase/getting-started/set-up-your-organisation/add-resources).

### User sync

To sync your users from Google Workspace follow the guide [here](https://support.meetuma.ai/uma-knowledgebase/integrations/calendar/google-workspace/user-sync).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/integrations/calendar/google-workspace/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
