Create a service account in your Google Cloud account
Grant Bigquery permissions
Create and save a service account key for the Google Cloud service account
Give Definite the key
Create a Google Cloud Service Account
Navigate to the Google Cloud service account management dashboard and select your project.
Grant Bigquery Permissions
Navigate to the Google Cloud IAM-Admin console for your project.
Enter the previously created service account name in the
New Principals field. Ex: definite-bigquery-reader .Assign these roles through the dropdown box for 
Select a role .Bigquery Data Viewer
Read metadata from the table or view.
Bigquery Metadata Viewer
Read permissions on datasets in the project.
BigQuery Job user
Job permissions to run queries on datasets.
BigQuery Resource Viewer

Create And Save the Service Account Key
Navigate to the Google Cloud service account management dashboard and select your project.
Click
Add Key Create new key Create- This will create and download a JSON key (.json) used by Definite to authenticate as the service account user.






