--- title: "Step 6: Grant permissions to your service account" slug: "step-6-grant-permissions-to-your-service-account" tags: ["Integration", "Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-04T19:26:27Z published: 2026-09-04T19:26:27Z canonical: "docs.trellix.com/step-6-grant-permissions-to-your-service-account" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Step 6: Grant permissions to your service account Assign the permissions your service account needs. > [!WARNING] > Important > > You must be a super admin to complete this task. 1. Log in to the Google Admin Console: [https://admin.google.com/](https://admin.google.com/). 2. Follow steps 1-8 under "Set up domain-wide delegation for a client" in the [Google documentation](https://support.google.com/a/answer/162106?hl=en#zippy=%2Cset-up-domain-wide-delegation-for-a-client). Make note of the following configuration settings: 1. For step 5, enter the Unique ID you made note of while creating the service account. 2. For step 6, paste the following scopes: ``` smtp https://mail.google.com https://www.googleapis.com/auth/admin.directory.group.readonly https://www.googleapis.com/auth/admin.directory.user.readonly https://www.googleapis.com/auth/admin.directory.group.member.readonly ``` ``` native https://mail.google.com https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/admin.directory.group.readonly https://www.googleapis.com/auth/admin.directory.user.readonly https://www.googleapis.com/auth/admin.directory.group.member.readonly ``` 3. If the account used to create the service account was not a super admin then see [Assign specific admin roles](https://support.google.com/a/answer/9807615?hl=en#zippy=%2Cassign-roles-to-one-user) for assigning roles to a user, a list of users or groups as an admin.