Last updated: March 18, 2026
Prerequisites
Before creating a destination, you need:- A Google Cloud Platform (GCP) account
- A GCP project with the BigQuery API enabled
- Permission to manage IAM roles in the project (to grant Detrics access)
Creating a Destination
- In the Detrics web app, go to Data Warehouse → Destinations
- Click New Destination
- Fill in the details:
Destination Name
A label for your reference (e.g., “Production Warehouse”, “Client Analytics”, “Dev/Testing”). This is only visible in Detrics, not in BigQuery.GCP Project ID
The project ID from your Google Cloud Console. You can find this on the GCP Dashboard or in the project selector dropdown. It looks likemy-company-analytics or project-id-123456.
Use the Project ID, not the Project Name or Project Number. The Project ID is the lowercase identifier, usually visible under the project name in the GCP console.
Dataset Name
The BigQuery dataset where Detrics will create tables. Use lowercase letters, numbers, and underscores (e.g.,marketing_data, warehouse_prod).
If the dataset doesn’t exist, Detrics will create it automatically. If it already exists, Detrics will add tables to it — existing tables are not affected.
Data Location
The geographic region where your data is physically stored. This is permanent and cannot be changed after the dataset is created.| Location | Type | Description |
|---|---|---|
US | Multi-region | Data stored across multiple US data centers |
EU | Multi-region | Data stored across multiple EU data centers |
us-east1, us-central1, etc. | Single region | Data stored in a specific US region |
europe-west1, europe-west2, etc. | Single region | Data stored in a specific EU region |
asia-east1, asia-southeast1, etc. | Single region | Data stored in a specific Asia region |
Timezone
The timezone used by all transfers on this destination. The timezone is used for:- Interpreting schedule times (e.g., “6:00 AM” in which timezone)
- Date boundary calculations
Granting Access to Detrics
After creating the destination, Detrics displays a service account email that needs access to your GCP project. This service account is what Detrics uses to create datasets, tables, and load data.Required IAM Roles
Grant the Detrics service account these two roles:| Role | Purpose |
|---|---|
| BigQuery User | Create datasets, create tables, insert data, run queries, and manage load jobs |
How to Grant Access
- Go to Google Cloud Console → IAM & Admin → IAM
- Make sure you’ve selected the correct project in the top dropdown
- Click Grant Access
- In the New principals field, paste the Detrics service account email shown on your destination page
- In the Select a role dropdown, search for and select BigQuery User
- Click Save
Sending Instructions to a Teammate
If you don’t have GCP admin access, click Send Instructions on the destination page. This generates an email with:- The exact service account email to add
- Step-by-step instructions for granting access
- The specific roles needed
Testing the Connection
After granting access, test the connection:- Go to your destination’s detail page
- Click Test Connection
- Detrics runs a series of checks:
- Can access the project — Verifies the service account has basic access
- Can create a dataset — Checks dataset creation permissions (or verifies the existing dataset)
- Can create tables — Verifies table creation within the dataset
- Can insert data — Confirms data loading works
- Can query data — Validates read access
Managing Destinations
Editing a Destination
You can update the destination’s name and timezone at any time. The GCP project ID, dataset name, and data location cannot be changed after creation (these are BigQuery constraints).Multiple Destinations
You can create multiple destinations for different purposes:- Production vs. staging — Test changes in a staging dataset before pointing transfers at production
- Regional separation — Keep EU client data in an EU dataset and US client data in a US dataset
- Team separation — Different teams or departments with their own datasets