Overview
Auxia’s integration leverages GCP’s IAM access control to connect any relevant table for highly granular user targeting, feature creation, model training, and performance measurement. We recommend sharing tables rather than views. Direct table access enables efficient incremental updates and cost reduction, while views often necessitate reprocessing data. Before proceeding, review the Source Data Requirements to ensure your tables are ready to be connected with Auxia.Setting Up a BigQuery Connection
The Auxia Console provides a guided wizard to connect your BigQuery data in three steps: Connect → Explore → Mapping.Prerequisites
- Access to the Auxia Console with connection editor permissions
- A GCP project with BigQuery datasets you want to connect
-
Permission to grant IAM roles in your GCP project. The specific permissions depend on the access level you choose:
Step 1: Connect
- Navigate to Connections in the Auxia Console and click Add New Connection → BigQuery.
- The wizard will display a service account email unique to your Auxia project. Copy this email — you’ll need it to grant access.
-
Enter your GCP Project ID (e.g.,
my-analytics-project). -
Choose your access level:
- Grant IAM permissions using one of the methods below (CLI, GCP Console, or Cloud Shell), then return to the Auxia Console and click Validate Connection.
IAM propagation note: IAM changes can take 1–5 minutes to propagate. If validation fails immediately after granting permissions, wait a few minutes and try again.
Granting Access via CLI (gcloud / bq)
Project-level access — grants the service account read access to connect all BigQuery data in the project:YOUR_PROJECT_IDwith your GCP project ID (e.g.,my-analytics-project)SERVICE_ACCOUNT_EMAILwith the service account shown in the Auxia Console
YOUR_PROJECT_IDwith your GCP project IDYOUR_DATASET_NAMEwith the dataset ID (e.g.,customer_360)SERVICE_ACCOUNT_EMAILwith the service account shown in the Auxia Console
Granting Access via GCP Console (BigQuery UI)
If you prefer using the GCP Console UI instead of CLI: For project-level access:- Go to the Google Cloud Console.
- Navigate to IAM & Admin → IAM.
- Click Grant Access (or + Add at the top).
- In the New principals field, paste the service account email from the Auxia Console.
- In the Select a role dropdown, search for and select BigQuery Data Viewer (
roles/bigquery.dataViewer). - Click Save.
- Go to the Google Cloud Console.
- Navigate to BigQuery (via the left sidebar or search).
- In the Explorer panel, find and click on the dataset you want to share.
- Click Sharing → Permissions.
- Click Add Principal.
- In the New principals field, paste the service account email from the Auxia Console.
- In the Select a role dropdown, search for and select BigQuery Data Viewer.
- Click Save.
- Repeat steps 3–8 for each additional dataset.
Granting Access via Google Cloud Shell
If you don’t havegcloud installed locally, you can use Google Cloud Shell directly in your browser. The bq command-line tool is bundled with the Google Cloud SDK, so no separate installation is needed.
- Open Google Cloud Shell.
- Ensure you’re in the correct project:
gcloud config set project YOUR_PROJECT_ID. - Run the
gcloudorbqcommands shown above (same as the CLI section).
Step 2: Explore & Map
Once your connection is validated, the wizard moves to dataset exploration and schema mapping. These steps are shared across all data connectors. See Getting Started for the full guide on exploring datasets and mapping your schema.Troubleshooting & FAQ
Access & Permissions
Q: I granted access but validation keeps failing. A: IAM changes can take 1–5 minutes to propagate in GCP. Wait a few minutes and click Validate Connection again. If it still fails after 5 minutes:- Verify the service account email is correct (copy it directly from the Auxia Console).
- Confirm you granted the BigQuery Data Viewer role (not BigQuery User or BigQuery Admin).
- For dataset-level access, ensure you granted access to each dataset individually.
roles/bigquery.dataViewer in the output. For dataset-level access:
Project IAM Admin role (roles/resourcemanager.projectIamAdmin). For dataset-level access, you need roles/bigquery.dataOwner or roles/bigquery.admin on the relevant datasets. If you don’t have project-level permissions, you can still grant access one dataset at a time with roles/bigquery.admin. Alternatively, contact your GCP administrator to either:
- Grant you the necessary role, or
- Run the
gcloud/bqcommands on your behalf (share the commands from the Auxia Console wizard).