top of page

How to create a Data Lake on Google BigQuery from Salesforce using

Now let's create a Data Lake in Google BigQuery using a Salesforce Sales Cloud data source.

First, go to Connections, Sources and add a new Salesforce connection. and Salesforce connection

Name your Salesforce connection and Target Schema Prefix as salesforce_salescloud and select either your Production or Sandbox Salesforce environment. Click on Authorize Your Account, where you will be redirected to your Salesforce login page. Enter your Salesforce credentials: and Salesforce source

After that you will receive a Connection Successful message. and Salesforce successful connection

Open the Actions and click on Reload Schema from Server. This operation takes a few minutes to run depending on the number of Salesforce entities available to your Salesforce organization. and Salesforce reload schema

On the Salesforce Source Connection, go to Actions and click on Edit. On the Connection Settings screen go to the Source Schema tab, you should see all of the metadata objects on the screen below. and Salesforce objects

NOTE: If you can't see any Schema objects return to the Connection Strings and click on Re-authorize your connection. After this step, go to Source Schema and click Load Schema again. If an error persists, reconnect to, clean your browser cache and create a new Salesforce source connection. and Salesforce

Open Google BigQuery

Go to and click on Create or Select a Project. Google BigQuery

Create a new project named DLH-io and also inform the project ID dlh-io, you will need this ID a few steps later. Google BigQuery project

After that you will get a message like this. Click on Select Project. Google BigQuery

You will be redirected to the page like this. Search for BigQuery. Google BigQuery

You should receive an empty database like this. Google BigQuery database

Now search for the IAM: Google IAM

On the IAM page click on Grant Access Google IAM

Grant access to, assign the role to BigQuery user and click on Save. Google BigQuery IAM security

If successful you will see the new role on the IAM page: Google BigQuery IAM role

Return to and create a new BigQuery Target: Google BigQuery target

Create a new Target named BigQuery and inform the Project ID created before: Google BigQuery target setup

If successful you will receive a message like this: Google BigQuery

Go to the Sync Bridge and create a new sync named Salesforce-BigQuery, select the Salesforce source, BigQuery target, GMT time zone and click on Save Sync Bridge. Sync Bridge

A new Salesforce-BigQuery sync bridge will appear as the screen bellow Sync Bridge

Click on Actions and click on Re-Sync All History in order to bring in all historical and current data. Sync History

You should receive this message and click on OK. sync bridge

Next, go to the Monitoring page in and verify the logs: log monitor

Return to your Google BigQuery console and refresh the page. You should see all of the Salesforce objects tables with data replicated. on BigQuery

Conclusion allows a quick setup of your Salesforce source and BigQuery destination in just a few clicks. It doesn't require any coding, firewall or API setting, just make sure that all of the connections were successful in order to create your sync bridge. Wait a few minutes, monitor the logs and view your Salesforce data in BigQuery. is a must have technology for any company who requires an advanced and easy-to-use Data Lake and Platform Analytics with several connectors to famous cloud applications. More details on

About the author: Angelo Buss is a Solutions Architect and the founder of BRF Consulting, a and Salesforce ISV partner with expertise on Data Engineering.


bottom of page