Create or select a project
Open the Google Cloud Console and select the project that contains your BigQuery datasets, or create a new project.Copy the Project ID (not the project name) — you will enter this as Project ID in Less.
Enable the BigQuery API
In the Cloud Console, go to APIs & Services → Library, search for BigQuery API, and click Enable if it is not already enabled for the project.
Create a service account
Go to IAM & Admin → Service Accounts → Create service account.Enter a name (for example
less-bigquery) and optional description, then select Create and continue.Grant BigQuery roles
Assign roles depending on how you use Less:
- Sources (read data) — add BigQuery Data Viewer and BigQuery Job User.
- Destinations (write data) — add BigQuery Data Editor and BigQuery Job User.
Grant dataset access (recommended)
For least-privilege access, open BigQuery in the Cloud Console, select your dataset → Sharing → Permissions → Add principal.Enter the service account email (for example
less-bigquery@my-project.iam.gserviceaccount.com) and assign:- BigQuery Data Viewer for sources
- BigQuery Data Editor for destinations
Create and download a JSON key
Return to IAM & Admin → Service Accounts, open the service account you created, go to the Keys tab → Add key → Create new key → JSON → Create.A JSON file downloads automatically. Upload that file in the Credentials step of the BigQuery wizard in Less.
Connect in Less
In the BigQuery wizard:
- Account — Project ID, optional default dataset, and optional location (for example
USorEU). - Credentials — upload the JSON key file from step 6.
- Tables (source) or Test Connection (destination) — click Connect to verify access.
Troubleshooting
Invalid service account JSON- Upload the original
.jsonkey file downloaded from Google Cloud. - The file must contain
"type": "service_account"and aclient_emailfield.
- Confirm BigQuery Job User is granted at project level.
- Confirm BigQuery Data Viewer (source) or BigQuery Data Editor (destination) is granted on the dataset or project.
- If you use a default dataset in Less, the service account must have access to that dataset.
- Check the Project ID matches the project where the dataset lives.
- Dataset and table names are case-sensitive in BigQuery.
- If datasets use a regional location (for example
europe-west1), set the same location in the Less Account step.