# Delegating Domain Wide Authority

## Introduction

To connect a Google Workspace account to Movebot, you need to delegate domain wide authority so Movebot can access your users and migrate them automatically.&#x20;

## Requirements

Delegating Domain-Wide Authority requires the following:

* A Google Workspace Administrator Account to access the Admin Console
* Familiarity with the Google Admin Console
* Client ID for Google generated in Movebot when configuring a Google Workspace connection

## Configuration Steps

1. [Login to the admin console ](https://admin.google.com/)for your Google Workspace domain.
2. Select the **Security** tab. If you don't see **Security**, select **Show More** from the bottom of the menu list.&#x20;
3. Choose **Access and data control** and then **API controls**.&#x20;
4. In the **Domain wide delegation** section, choose **MANAGE DOMAIN WIDE DELEGATION**.&#x20;
5. In the **API clients** section, click **Add new**. Paste the Client ID generated from Movebot into the **Client ID** field.&#x20;
6. In the **OAuth scopes (comma-delimited)** field, paste the following:&#x20;

```
https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/admin.directory.user, https://www.googleapis.com/auth/admin.directory.user.readonly, https://www.googleapis.com/auth/admin.directory.user.security
```

7. Click **Authorize**. Test that the connection in Movebot is successful to complete your configuration.&#x20;

For more information on domain-wide delegation, see this Support article from Google: <https://support.google.com/a/answer/162106?hl=en>\
\
Tags: googledrive\_domain


---

# 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://docs.movebot.io/platform-guides/google/delegating-domain-wide-authority.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.
