Google BigQuery

Step-by-step guide to set up Google BigQuery as a destination in RudderStack.

Google BigQuery is an industry-leading, fully-managed cloud data warehouse that allows you to store and analyze petabytes of data in no time.

RudderStack allows you to dump your customer event data into Google BigQuery by adding it as a destination to the source of your choice.

Setting up Google BigQuery

Follow these steps to set up Google BigQuery before adding it as a destination in RudderStack:

  • Create a new bucket for RudderStack to store the staging files

  • Create a new service account under IAM & Admin - Service Accounts

  • Add Service Account permissions as follows:

    • Grant storage admin access to the bucket

    • Grant admin access to BigQuery

    • Create a key for the service account with JSON as the type and store it.

Configuring Google BigQuery in RudderStack

In order to enable sending data to Google BigQuery, you will first need to add it as a destination to the source from which you are sending event data. Once the destination is enabled, events from RudderStack will start to flow to BigQuery.

To do so, please follow these steps:

  • Choose a source to which you would like to add Google BigQuery as a destination. You can also simply create the destination and connect it to a source later.

Please follow our Adding a Source and Destination guide to know how to add a source in RudderStack.

  • Once you have set up the source, select Google BigQuery from the list of destinations. Give your destination a name, and then click on Next. You will then see the following Connection Credentials screen:

Google BigQuery Configuration Settings in RudderStack
  • Add your project ID and bucket name, as specified in the Setting up Google BigQuery section

  • Copy the contents of the credentials JSON file you created and stored, in the section above.

That's it! You have successfully added Google BigQuery as a destination in RudderStack. Once you start sending events from your source, RudderStack will dump them into the BigQuery bucket periodically.

Contact Us

If you come across any issues while configuring Google BigQuery with RudderStack, please feel free to contact us or start a conversation on our Discord channel. We will be happy to help you.