> ## Documentation Index
> Fetch the complete documentation index at: https://support.affinity.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How To Enable Domain Wide Delegation For Google Impersonation Enterprise Only

> Help center reference: How To Enable Domain Wide Delegation For Google Impersonation Enterprise Only

<Note>**How-to** — task-oriented recipe.</Note>

Note: This feature is only available for the **Enterprise Tier** or accounts with **Sync-Only seat licenses**.

For Google Admins desiring to set up Google impersonation for Affinity, follow these steps below.

**Note**: Setting up domain-wide delegation for your team means that you will not be able to limit specific users on the syncing process.

1. Sign into your team's [Google Admin console](https://admin.google.com/) using an account with super admin privileges.
2. On the left sidebar, click **Security** > **Access and data control** > **API controls**. From there, scroll down and click on **MANAGE DOMAIN WIDE DELEGATION**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/1.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=51e79c07b533a110c64f47fa01b4d7c6" width="2102" height="1330" data-path="images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/1.jpg" />

3. From there, click **Add new**.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/2.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=00cffbad1385859f6216d13c57d88f77" width="1412" height="698" data-path="images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/2.jpg" />

4. Enter the following details:
   1\.

**Client ID**: 112476501954219950174
2\. **OAuth Scopes**

1. [https://www.googleapis.com/auth/gmail.send](https://www.googleapis.com/auth/gmail.send)
2. [https://www.googleapis.com/auth/gmail.readonly](https://www.googleapis.com/auth/gmail.readonly)
3. [https://www.googleapis.com/auth/calendar.readonly](https://www.googleapis.com/auth/calendar.readonly)
4. [https://www.googleapis.com/auth/userinfo.email](https://www.googleapis.com/auth/userinfo.email)
5. Click **Authorize**. The client will now be added successfully.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/3.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=9f4f426c654bb449b794b521593548ca" width="1224" height="1068" data-path="images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/3.jpg" />

6. Point to the new Client ID and click **View details** to make sure every scope is listed.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/4.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=71114d71514c96bcc7ee3ab860fb541e" width="2374" height="558" data-path="images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/4.jpg" />

7. If a scope is not listed, click **Edit**, enter the missing scope, and click **Authorize** again. You will not be able to edit the client ID moving forward.

<img src="https://mintcdn.com/support-affinity/Q1cJJh0hXrTkThQR/images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/5.jpg?fit=max&auto=format&n=Q1cJJh0hXrTkThQR&q=85&s=988f66c6ff61d30b0f4b45952ca74d06" width="2374" height="558" data-path="images/admin-security-privacy/how-to-enable-domain-wide-delegation-for-google-impersonation-enterprise-only/5.jpg" />

8. The app should be available for use within an hour, but can take up to 24 hours.
9. Finally, please reach out to [support@affinity.co](mailto:support@affinity.co) stating that you have followed these steps so that we can complete the process from Affinity's end.

If you have any questions, please reach out to us at [support@affinity.co](mailto:support@affinity.co) and we'd be happy to help.
