BigQuery lets the AI run SQL on your Google BigQuery datasets and read the results, for dashboards and reports.
What you can ask for#
Show daily completed orders for the last 30 days from the analytics dataset. Limit the result to 100 rows.
List my datasets in BigQuery.
Build a dashboard page from this query.
Connect BigQuery#
Step 1: Find the connector
Open Tools, then Connectors, and search for BigQuery. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect.
Step 3: Sign in and approve
Select Continue with BigQuery. A window opens: sign in and approve access.
Step 4: Add the project details
When the window closes, go back to Connectors and enter your Google Cloud project ID. You can also add a Billing project ID, if queries should be billed to another project, and a Location such as US or EU.
Step 5: Check the connection
When the details are saved, the connection shows as connected. Everyone in your workspace can use it. Swarmz stores a token, never your password.
Before you connect#
Your Google account needs BigQuery access in the project you name. Find the project ID in the Google Cloud console project picker.
What the AI can and can't do#
- List datasets and run SQL queries.
- Read the results back into your app.
- Queries stay within the project, billing project and location you set.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
Google rejects the query.
Check your BigQuery roles, the project IDs and the dataset location.
Queries cost more than expected.
Ask the AI to limit rows and select only the columns it needs.
I picked the wrong Google account.
Reconnect and sign in with the account that has access to the project.
General steps for any connector are in Connect an integration. To remove it, see Disconnect an integration.
What Swarmz can do with it
Warehouse queries
Run SQL against an explicitly configured Google Cloud project.
More in Data & analytics
Still stuck?
A person from Swarmz Support can take a look.