# Delegating Domain-Wide Authority in Google Workspace

## Delegating Domain-Wide Authority

Learn how to connect Google Workspace to Couchdrop with a Client ID and domain-wide delegation

### Introduction <a href="#introduction" id="introduction"></a>

To connect a Google Workspace account to Couchdrop you need to delegate domain-wide authority so Couchdrop can access your users and migrate them automatically.

### Requirements <a href="#requirements" id="requirements"></a>

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 Couchdrop when configuring a Google Workspace connection

### Configuration Steps <a href="#configuration-steps" id="configuration-steps"></a>

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.
3. Choose **Access and data control** and then **API controls**.
4. In the **Domain wide delegation** section, choose **MANAGE DOMAIN WIDE DELEGATION**.
5. In the **API clients** section, click **Add new**. Paste the Client ID generated from Couchdrop into the **Client ID** field.
6. In the **OAuth scopes (comma-delimited)** field, paste the following:

```
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 Couchdrop is successful to complete your configuration.

For more information on domain-wide delegation, see this Support article from Google: <https://support.google.com/a/answer/162106?hl=en>&#x20;
