Configure Google Cloud Platform to run GA4Dataform installer
This guide provides detailed instructions for configuring Google Cloud Platform (GCP) to ensure a seamless setup for the GA4Dataform installer. It is primarily designed for beginners, while advanced users should find it straightforward to meet the requirements outlined in the introduction without needing additional guidance.
Introduction
GA4Dataform is a set of SQL models and JavaScripts designed to run within Dataform. It doesn’t require a dedicated installation process—connecting our repository with a Dataform repository is all it takes to "deploy" GA4Dataform.
However, to assist less technical users and save time for advanced users, we’ve developed an installer. This installer simplifies the entire Dataform deployment and configuration process, including setting up repositories, workspaces, schedulers, and more.
For the installer to work effectively, it requires certain permissions within a Google Cloud Project (GCP) and must meet specific prerequisites.
This guide will walk you through the key steps to prepare before running GA4Dataform installer:
- Checking access permissions.
- Enabling the Service Usage API.
- Verifying your GA4 BigQuery export.
- Confirming your billing status.
Each of these steps is detailed in the sections below.
Check Access Permissions
Ensure that your account has the necessary permissions to run our installer.
- Open the IAM & Admin page.
- Use the email filter to quickly locate your account.
- Verify that your account has one of the following roles:
- Viewer, Project IAM Admin, Service Usage Admin
- Editor, Project IAM Admin
- Owner Or custom role which has all permissions from permissions page.
Example of account with owner access
If your account lacks the required permissions, contact your GCP administrator to request access or reach us at support@ga4dataform.com for assistance.
Check Billing Status
Ensure that your project has an active billing account.
- Navigate to the Billing page.
- Verify that you can access the billing overview page. If so, your billing account is active.
- If you see a message stating “This project has no billing account,” you need to activate your billing account. Check the official google documentation
An active billing account is essential for BigQuery exports and other paid GCP services.
Creating a billing account won't directly generate any cost. However, using GA4Dataform will generate BigQuery costs, so please keep an eye on your Billing. We're not responsible for any charges that may come up.
Enable the Service Usage API
Activate the Service Usage API to enable the GA4Dataform installer to function properly.
- Open the Service Usage API page.
- Check if the API is enabled. If not, click the Enable button (typically blue and located near the top of the page).
- Wait for the confirmation message indicating the API has been successfully enabled. Once activated, the button will change to Disable to indicate the API is enabled.
Before
After
Verify GA4 BigQuery Export Setup
Ensure that your GA4 property is properly linked to BigQuery.
- Navigate to BigQuery from the GCP menu.
- Look for a dataset named after your GA4 property.
- Confirm that the dataset contains tables such as
events_YYYYMMDD
.
If the dataset or tables are missing, revisit the GA4 interface to ensure the BigQuery linking is correctly configured.
Conclusion
Once you have validated all these steps, you're ready to run the GA4Dataform installer.
For further assistance, feel free to reach us at support@ga4dataform.com.