> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.patronum.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to configure Google Chat Management API access

To manage Google Chat Spaces a Google Chat Application needs to be manually added to Google Workspace Admin Console.

To configure Google Chat management, follow the steps below:-

1. Log in to the Google Workspace Admin panel, open the **Security** → **Access and data control** → **API controls** tab, and go to the **Manage Domain Wide Delegation** section.

![Manage Domain Wide Delegation.](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_wv9aey.png)

Click on the **Add new** button to add the provided Patronum Google Chats application client ID and OAuth scopes to the **API clients** list.

Client ID: 115683890100386573286

List of OAuth scopes (you can copy and paste it as is):

`https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.spaces`

The same OAuth scopes are listed below in the more readable format. The application requests these scopes to query and manage Google Spaces.

* https://www.googleapis.com/auth/chat.spaces
* https://www.googleapis.com/auth/chat.admin.spaces
* https://www.googleapis.com/auth/chat.spaces.create
* https://www.googleapis.com/auth/chat.admin.delete
* https://www.googleapis.com/auth/chat.admin.memberships
* https://www.googleapis.com/auth/chat.admin.spaces

![](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_1gbj4l0.png)

![](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_19sq07f.png)

After the new Client ID has been added you can use Patronum to Manage your Google Chat Spaces.