BigQuery
Send data from BigQuery to your destinations through Freshpaint
- A Freshpaint account
- A GCP account and BigQuery project, including:
- A service account with BigQuery User and Data Editor roles
With the BigQuery source, Freshpaint can sync data from any and all of your tables in BigQuery into our SQL Engine. You'll be able to access this data as SQL tables, in the same way you would inside BigQuery.
With that data, you can:
- Send to your destinations on a schedule with our Scheduled Events, keeping them in sync with updates in BigQuery
- Combine your BigQuery data with that of any other source
First, you'll want to locate BigQuery on the list of sources:

Click the Configure button, and you'll see a modal that looks like below. Enter the project ID in the first input. For the second, locate the JSON service key you created. Copy the contents of that key into your clipboard, then paste that into the second input. When you paste it, it should begin with
{ "type": "service_account",
followed by more text.Once you've saved everything, it should look like the following:
.png?alt=media)

You can configure the schedule for any frequency you want to sync with our SQL Engine. Once you have your tables configured, you can trigger a new sync to have access to the data in your tables. Your connection should now look something like this:

BigQuery is a general data warehouse; the only limit to what data you can pull is what access you provide to the user. Below is a simple example of the SQL you can run in the SQL Editor to see the data in any of your tables.

Many people use BigQuery as a data warehouse. You can use the BigQuery source integration to send data to any analytics tool of your choice. Suppose you wanted to sync new accounts to Mixpanel:
SELECT
account_id AS insert_id,
email AS user_id,
created_at AS time,
*
FROM
bigquery_account_signups
A query like this would pull data from an
account_signups
table at BigQuery and send that to Mixpanel.Point-to-Point integrations need you to define the
insert_id
and user_id
for the data to be accepted by your destination. Remember this when you build your own queries! Because you selected *
, you'll see all of your data as properties named for their original columns as well.You might find yourself in need of bringing data over to a new warehouse. With your BigQuery source, you can tap into all of the warehouses you've connected with Freshpaint.
- Finally, you need to click into the event you've created, and turn on the warehouse(s) for that event. (This can even be BigQuery project!)
- Be careful about the kind of data you may include in a
SELECT *
query, as that could include sensitive data.
Last modified 7mo ago