Skip to main content
All CollectionsIntegrations
Data Warehouse - BigQuery Integration
Data Warehouse - BigQuery Integration

Load data from Insightful into a BigQuery data warehouse

Tamara Filipovic Djordjevic avatar
Written by Tamara Filipovic Djordjevic
Updated over 10 months ago

BigQuery integration makes it easy to load Insightful’s data into a BigQuery data warehouse. When you integrate BigQuery with Insightful, you get a fully managed data pipeline loaded into a powerful and cost-effective data warehouse.

Insightful runs a periodic process to pull data related to your organization, teams, and employees from our database and load them into your BigQuery cluster.

Note: This integration is a Premium add-on.

Getting Started

To store your Insightful’s data in BigQuery, a couple of steps should be taken:

  1. Create a project and enable BigQuery.

  2. Create a service account for Insightful.

  3. Create the connection in Insightful.

Create a Project and Enable BigQuery

If you don’t have a project/enabled BigQuery, you need to create/enable a project and enable BigQuery:

  1. Navigate to the Google Developers Console.

  2. Configure the Google Cloud Platform:

    • If you don’t have a project already, create one.

    • If you have an existing project, enable the BigQuery API. Once you’ve done so, you should see BigQuery in the Resources section of Cloud Platform.

When you create your project, you must enable billing so data can be written into the cluster.

Create a service account for Insightful

In order to create a service account for Insightful, you need to follow these steps:

  1. From the Navigation panel on the left, select IAM & adminService accounts

  2. Click Create Service Account.

  3. Enter a name for the service account (for example, Insightful-warehouses) and click Create.

  4. Assign the service account the following roles:

    • BigQuery Data Owner

    • BigQuery Job User

  5. Create a JSON key. The downloaded file will be used to create your data warehouse connection in the Insightful app.

If you have trouble creating a new service account, refer to Google Cloud’s documentation about service accounts for more information.

Create the integration in Insightful

To create the integration in Insightful, please follow these instructions:

  1. Once you log in to your admin’s dashboard, select Settings Integrations and search for BigQuery.

  2. Data warehouse feature is disabled by default. Click on Request access and allow our team up to one working day to enable it for your organization.

  3. Once the feature is enabled, click on Configure Integration.

  4. Upload JSON key file and details will be automatically extracted. You can manually enter or edit integration details from your JSON key file (Project ID, Client Email, Client ID, Type and Private Key). Dataset field should be provided separately, and if it doesn’t exist, it will be created automatically. Enter a region name in the Location field (the default is multi-region US). Please find the detailed list here.

You can double-check if all entered details are correct by clicking on Test Connection.

  1. Once you’ve entered all details, click Next. Enter connection name, choose the time period for syncing the data, how often syncs should occur, scope of employees and teams that will be included and finally data types that should be synced.

  2. Click Save.

BigQuery Integration FAQ

How does BigQuery pricing work?

BigQuery offers both a scalable, pay-as-you-go pricing plan based on the amount of data scanned, or a flat-rate monthly cost. You can learn more about BigQuery pricing on Google Cloud’s BigQuery pricing page.

BigQuery allows you to set up Cost Controls and Alerts to help control and monitor costs. If you want to learn more about the costs associated with BigQuery, Google Cloud provides a calculator to estimate your costs.

How do I query my data in BigQuery?

You can connect a BI tool like Mode or Looker to BigQuery, or query directly from the BigQuery console. BigQuery supports standard SQL, which you can enable using Google Cloud’s query UI.

Can I customize my sync schedule?

We have a few sync schedules that you can choose from:

  • Hourly (every hour at 00:00)

  • Daily (every day starting at 00:00 UTC)

  • Weekly (every Sunday at 00:00 UTC)

In case of a failed sync, new attempt will be made every 15 minutes, until a successful sync has happened. You are not able to define your own schedule, other than the three options mentioned above. Please note that each type of sync may have up to 15 minutes delay of sync start.

What is a staging table?

Staging tables are temporary tables marked with _staging suffix. Each staging table contains the data related to the ongoing sync. After the sync is completed, it will be merged with the original table and deleted automatically.

Can I edit an existing connection?

Editing an existing connection will not possible. Admins need to delete existing connections and create new ones from scratch.

Did this answer your question?