Zoomdata Version

Connecting to BigQuery


To authorize the BigQuery connection, you need to create a service account and create a security key for it.

To create the service account, perform the following steps:

  1. Login to your Google API Console.
  2. Select the required project from the list:

Figure 1

  1. Make sure that current account is linked to a billing account. To check this, select the icon and then select Billing .
  2. On the API Manager page, select Credentials :

Figure 2

  1. On the Credentials page, select Manage service accounts .
  2. On the Service Accounts page, click Create Service Account and specify the following:
  • Service account name
  • Role - grant this service account role based access to the project. From the list, select the BigQuery category and then select BigQuery Data Viewer and BigQuery User roles.
  • Service account ID

Figure 3

  1. Click Create .

When you have created an account, you need to create a security key for it. Perform the steps listed below:

  1. On the Service Accounts page, find the required account.
  2. From the menu, select Create key .

Figure 4

  1. In the Create private key dialog box, select the JSON key type and click Create . The local copy of the key will be saved on your computer.

Figure 5

For more information, reference the following Google resources: Authenticating requests to the Google BigQuery API and Using OAuth 2.0 for Server to Server Applications .
  1. Move the file with the key to the server, on which the connector is running.

The table below lists information on the features that are supported by BigQuery:

Supports Distinct Count? Yes
Supports Live Mode/ Playback? Yes
SparkIt Capable? Yes
Supports Group-by Time? Yes
Supports Multi Group-by Charts? Yes
Supports Histogram? Yes
Supports Box Plot? No
Custom SQL Capable? No
Supports Last Value? No
Supports Partition? Yes


For details about what is provided on each page of the connection process, review the article Source Connection Workflow . Depending on your needs, you can either follow the steps in order from start to finish or jump to a specific section in the connection process:


  1. Log into Zoomdata.
  2. Click the Sources menu item.

Figure 6

  1. Click the BigQuery connector icon.

General Page

  1. Specify the name of your source and add a description (if desired).

Figure 7

Connection Page

This page defines the connection source for Zoomdata to be able to access the data source. If this is the first time setting up a connection, then you need to input the necessary credentials. If a validated connection already exists, you are given the option to use it.

  1. To create a new connection, select the Input New Credentials option.
  2. Enter a unique name for the connection (to help distinguish between other connections in this Zoomdata account).
  3. Specify the Key Path.
Keep in mind that you have to specify the absolute path to the file that must be available for the connector.
  1. Specify Public Project IDs.
  2. Click Validate .
    If successfully validated, the connection is saved.

    Figure 8
  3. Click Next to continue to the next setup page.

Tables Page

  1. Select the schema and data table to use for your charts.
  2. Toggle the availability of the fields, as needed.
  3. Toggle the SparkIt and Caching options, as needed.
Spark It capability is planned for deprecation in a future release.
  1. Click Next to continue.

Figure 9

Fields Page

The Fields page lets you (1) configure attribute options, (2) create custom labels for the fields in your data source (that will be displayed in the charts), (3) manage the Volume metric, and (4) work with Calculations.

  1. Determine whether the field should be visible or not to the user.
  2. Create unique label names, as needed, for each Label field.
When you create a data source, the specific number of distinct values for the attribute fields are saved in Zoomdata depending on the data sample from your data set. You can filter the data on your chart by these values. While editing a data source, if you want to use all distinct values in the filter (that is from whole data source), click the Refresh button in the Statistics column.
  1. For the Type column, you have the option to edit the field type (although usually you won't need to do this).
  2. Configure the partition settings. For the partitioned fields you can select one of the following options:
  • No
  • Date - this option is available for the Time field type. If you select this option, the list of the partitioned columns will be displayed in the Configure column.
  1. For the Configure column, numeric and time-based fields may be edited:
  • Numeric types including Money, Number and Integer - ability to select a default aggregation function
  • Time fields - ability to define the default time pattern and granularity; if the time field provides granularities of hour, minute and second, then a time zone label may be applied
  1. Select fields for Distinct Counts as needed.
    When you create a data source, the specific number of distinct values for the attribute fields are saved in Zoomdata depending on the data sample from your data set. You can filter the data on your chart by these values. While editing a data source, if you want to use all distinct values in the filter (that is from whole data source), click the Refresh button in the Statistics column.
  2. Refresh the connection to a particular field, as desired.
  3. Configure Filter Display settings for fields.
  4. Edit the Volume Metric settings, as needed.
  5. Work with Calculations , if available and as needed.
    If you are setting up a new connection, the Calculations section will not be available until after the connection is saved.
  6. Click Next to continue.

Figure 10

Refresh Page

The Refresh page lets you schedule asynchronous jobs to update the source metadata. For guidance to set up a refresh schedule, refer to the article Using the Zoomdata Scheduler .

Charts Page

On the Charts page, you can:

  1. Edit Global Default Settings.
  2. Select the Standard and, if available, Custom chart styles to be used with the data source.
  3. Set default parameters (group, sub-group, colors, sorting, and so on) for each chart style.

Figure 11

Learn more about how to customize a chart .

Click Finish to save your changes. Once your data connection has been established, it will be listed under the My Data Sources section of the page.