--- title: "Step 4: Create a service account" slug: "step-4-create-a-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-4-create-a-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 4: Create a service account Create a service account and add a JSON key. The service account is the account that's used by the API calls that Trellix makes to Google Cloud. **To create a service account and add a JSON key:** 1. Follow steps 1-2 under "Step 4: Create the service account" in the [Google documentation](https://support.google.com/a/answer/7378726?hl=en). 2. Enter a descriptive account name, account ID, and account description. You can auto generate a service account ID using the refresh button in the service account ID box. 3. Copy the Email Address under **Service Account ID** and save it for use in a later step. 4. Follow steps 5-9 under "Step 4: Create the service account" in the Google documentation. 5. In the top navigation bar, select **Details**. 6. Copy the value beneath **Unique ID** and save it for use in a later step. 7. Click **Advanced Settings**. 8. Under **Google Workspace Marketplace OAuth Client**, click **Create Google Workspace Marketplace-Compatible OAuthClient**. 9. Click **Continue**. A JSON key is now downloaded by your browser. You are prompted to save it or it is automatically saved to your default download location. This key will be used later.