[HOWTO] Creating Service Account in GCP to Get GA4 Data

This blog post provides a step-by-step guide on how to create a service account in Google Cloud Platform (GCP) to access Google Analytics 4 (GA4) data. I wrote it because sometimes I'm not able to get full access to the Google Cloud Platform so the Client's IT Devs are creating the service accounts for us.

It is targeted towards engineering teams and aims to help them understand the process of setting up a service account and retrieving GA4 data in further steps.

Step 1: Go to IAM & Admin → Service Accounts
Step 2: Create new service account by clicking the button at the top
Step 3: Set service account name and service account ID.
Step 4: Leave Access and User Access empty - it’s not necessary.
Service Account has been created. Good job! Click on it.
Step 5: Now we need to create new JSON key.
Final step. Download the JSON key file.

Private key is now saved to your computer. Keep it safe!

If you wanna learn howto get data from GA4 check out our other articles. Links below. Enjoy!