The recommended authentication method, service account impersonation, is covered in Step 3. If your policy requires a different approach, that step also describes how to use a service account key.
Step 1: Create a service account
Open the Service Accounts menu
In the GCP console, in the same project as your BigQuery data, navigate to the IAM & Admin menu, open the Service Accounts tab, and click Create service account.

Grant the BigQuery User role
Grant the new service account the BigQuery User role. This allows it to run the read queries that extract your data.

Step 2: Grant read access to the source dataset
Open the dataset sharing settings
In BigQuery, click on the dataset you want to read from. In the menu on the right, click Sharing and then click Permissions.

Step 3: Authorize authentication
Choose the authentication method that fits your security policy. Service account impersonation is recommended because it avoids sharing any long-lived credentials.- Service account impersonation (recommended)
- Service account key
Open the service account permissions
In the IAM & Admin menu, open the Service Accounts tab and click the service account you created in Step 1 to open its details. Navigate to the Principals with access tab and click Grant Access.
Step 4: Find your Project ID and data location
Find the Project ID
In the Google Cloud console, open the projects list dropdown and make a note of your BigQuery Project ID.

This connection supports Google Cloud organization policies that restrict identities by domain. If your organization enforces domain-restricted sharing, you can add our principal to your allow list following Google’s guidance on restricting identities by domain. Contact your account representative for the customer ID to add.
Step 5: Submit your connection details
Provide the following details to complete the source setup:- The name is a descriptive name of the source.
- The Project ID from Step 4.
- The region (the data location) from Step 4.
- The authentication credentials from Step 3:
- If using impersonation: the service account email from Step 1.
- If using a service account key: the service account email from Step 1 and the JSON key you downloaded.






