Introduction
Qobra connects to Bigquery through google service accounts. This means that Qobra will only be able to access the data available to the service account. If you want to limit access to specific tables, you should restrict the service account’s permissions accordingly. Although a service account is tied to a project, it does not automatically have access to all the data within that project. You can control its access by configuring IAM roles and permissions to limit it to specific datasets and tables. Note: Qobra will still be able to view the names of all tables and routines within a dataset, even if it does not have permission to access their contents. The integration is used to synchronize exposed tables, their columns and their content. This integration is readonly and does not write anything in your Bigquery database.Setup
- Create a service account from your google account, with the following permissions:
bigquery.jobs.createbigquery.tables.getbigquery.tables.listbigquery.routines.getbigquery.routines.listbigquery.tables.getData(optional)
-
You’ll then be able to fill in connection modal in app:
Service account: Service accountDataset: Bigquery dataset

-
(optional) If the data feeding your table is coming from a Google Spreadsheet,
you’ll need the
bigquery.tables.getDatapermission. In the source spreadsheet, you’ll also need to give a read access to the service account’s email address.
Synchronization
Table requirements
Prepare each table or view you expose to Qobra:- A unique identifier column: each record has its own value, which never changes.
- A name column.
- At least one date column.
- A user identifier column, such as an email, a user ID or a CRM ID. User values are emails by default: you can choose another identifier when you add the data table in Qobra.
- A reasonable volume: above 1 million records, imports take longer. Filter the table, for example to keep only the current year, or aggregate it, for example to one record per customer and per month.
Full synchronization
Qobra reads all the records of each table at every refresh, and removes the records deleted from the source. A Qobra admin chooses how often Qobra refreshes the source, in Settings > Integrations, from the … menu of the integration card.Supported types
You’ll find below the fields types supported by the Qobra integration, and their mapping to Qobra types.Custom query
You can filter the records Qobra imports from a table with a custom query, to keep imports fast on large tables. The query is a condition written in the query language of this source, without theWHERE keyword. A Qobra admin adds
it when they add the data table in Qobra, under Data to sync.
Contact support for more information.