How to Add a Service Account to Your Google Cloud Project and Assign Permissions
Step 1: Open the Google Cloud Console
- Navigate to the Google Cloud Console .
- Select the project where you want to add the service account from the project selector dropdown.
Step 2: Navigate to IAM and Admin
- From the left-hand menu, select IAM & Admin > IAM.
- This will display a list of all existing members and their roles.
Step 3: Add the Service Account
- Click the Grant Access button at the top of the page.
- In the “New principals” field, enter the following service account email address:
mixpanel-integration-sa@gam-dwh.iam.gserviceaccount.comStep 4: Assign Permissions
Assign the following roles:
- BigQuery Data Viewer — Allows the service account to read data from existing tables
- BigQuery Data Editor — Grants the ability to create and update datasets and tables
- BigQuery Job User — Necessary to run queries and perform table copy operations
- Under “Select a role,” search for and select the roles mentioned above.
- Click Save to finalize.
Step 5: Verify the Service Account
Return to the IAM section and ensure the service account is listed with the correct roles.
Last updated on