Hello @MLindenhofer,
It is not strictly necessary to set up a Google Workspace account to allow Retool access to a GA4 (Google Analytics 4) property.
However, you do need to ensure that Retool has proper access to the GA4 property through the Google Analytics API. But I am curious, did you read in the forums or in our docs that setting up a Google Workspace is necessary?
These are the steps for setting up GA4 with Retool:
- Service Account:
- Create a Google Cloud Platform (GCP) project if you don’t already have one.
- Enable the Google Analytics Admin and Reporting APIs in your GCP project.
- Create a service account in the GCP project and generate a JSON key for it.
- Grant Access to the Service Account:
- Add the service account email (e.g.,
your-service-account@your-project.iam.gserviceaccount.com
) as a user with appropriate permissions (like Viewer or Editor) to your GA4 property in the Google Analytics Admin settings.
- Connect Retool:
- Upload the JSON key to Retool when configuring your resource.
- Use Retool’s Google APIs integration or a custom REST/GraphQL API to query the GA4 data.