---
title: "BigQuery integration"
description: "Connect BigQuery to Softr and build dashboards, reports and apps on your datasets. Pick a table or write a SQL query, then show the results in blocks."
canonical: "https://docs.softr.io/integrations/bigquery"
updated: "2026-12-04"
---

# BigQuery integration

BigQuery is a cloud-based data warehouse for analyzing large datasets. In Softr, you can build custom dashboards, reports, and apps on your BigQuery data.

## Connect BigQuery

You need a Google Cloud Platform project with BigQuery enabled, a dataset, and at least read-only access for Softr.

1. In your [Softr dashboard](https://studio.softr.io/dashboard/integrations), select **Integrations** in the left menu.

2. Select **Connect new**.

   ![The Integrations page of the dashboard listing connected accounts such as Airtable, Google Sheets, HubSpot, Coda, Slack, Gmail, OpenAI and Stripe, with filters by type and an arrow pointing at Connect new](/integrations/overview/integrations-page.2x.webp)

3. Select **BigQuery** from the list of integrations.

4. Follow the on-screen prompts to sign in with Google OAuth.

5. Grant Softr read-only permissions to your BigQuery datasets.

> **Tip**
>
> You can also keep your data in Softr Databases, built into Softr and ready for your apps and workflows. See [Softr Databases](/databases/overview).

## Use cases

| Use case                | What it does                                                                                                |
| ----------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Dashboards**          | Tracks user activity, app performance and sales trends in one dashboard, without a separate analytics tool. |
| **Partner insights**    | Shares product performance data with vendors in secure dashboards.                                          |
| **Reports**             | Shows reports built on your BigQuery data.                                                                  |
| **Custom SQL analysis** | Runs your own SQL queries and shows the results in custom tables and charts.                                |

## Use BigQuery as a data source

BigQuery is available on Business and Enterprise plans. For a quick overview, watch the video walkthrough.

> **Warning**
>
> BigQuery is read-only. You cannot add, update or delete data from Softr, so blocks such as Forms do not work with BigQuery. You also cannot store Softr user data in BigQuery. You can still manage user data in Softr.

> **Note**
>
> In apps built with Softr AI, connect your account, then ask Softr AI to build on the source. It reads the tables and builds the pages for you. See [Connect your data](/apps/connect-your-data). The block settings below apply to Classic apps.

### Connect your BigQuery data to a Classic app

Once BigQuery is connected, you can use your data to build dashboards and display records in your apps.

1. **Connect a block to a table**

   To display your data in the app, connect a [dynamic block](/classic/overview#visualize-data-with-building-blocks), such as [List](/classic/list-and-grid-blocks#list-block) or Chart, to your BigQuery table.

   1. Open the block's **Source** tab and select your BigQuery integration.
   2. Select the **project** and **dataset** you want to connect.
   3. Pick the **table** you want to use, or create a new **query**.
   4. Optional: select the **primary field**.

   ![Connect BigQuery to a dynamic block](/data-sources/bigquery/image9.webp)

   _Connect BigQuery to a dynamic block_
2. **Map BigQuery fields to Softr fields**

   Choose which BigQuery properties the block shows, and map each one to a Softr field. For example, map a **date** in BigQuery to **grouping** in Softr.

   ![Mapping fields from BigQuery to Softr](/data-sources/bigquery/image10.webp)

   _Mapping fields from BigQuery to Softr_

### Custom SQL queries

Use Softr's built-in query editor to write and run SQL queries against your BigQuery dataset. Then connect the query results to dynamic blocks to display custom tables and visualizations.

## Troubleshooting

### Access denied on a table

The error says "something went wrong" and "Access Denied", with one of these messages:

![Important part of error in text: "Access Denied: BigQuery BigQuery: Permission denied while globbing file pattern."](/data-sources/bigquery/image11.webp)

_Important part of error in text: 'Access Denied: BigQuery BigQuery: Permission denied while globbing file pattern.'_

![Important part of error in text: "Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials."](/data-sources/bigquery/image12.webp)

_Important part of error in text: 'Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.'_

The cause is a BigQuery external table. External tables come from Google Drive, Google Sheets, or Cloud Storage, and need extra permissions that Softr does not request.

When you create a table in BigQuery, you sometimes can choose to create an external table, and sometimes you have no other option.

![You might have the option to create an external table, or be forced to. Table creation dialog, BigQuery console.](/data-sources/bigquery/image13.webp)

_You might have the option to create an external table, or be forced to. Table creation dialog, BigQuery console._

BigQuery offers or forces an external table when you create a table from:

- A file on Google Drive in a supported format, such as CSV or Avro
- A Google Sheet
- A file on Google Cloud Storage

To check whether an existing table is internal or external, open the table details. An external table has an **External data configuration** section.

![Notion image](/data-sources/bigquery/image14.webp)

To fix the error, use one of these solutions:

1. Use a native table. Set the table type to **Native Table** when you create it, if available. A native table does not sync with the original source, so updates to the external source do not show in Softr.
2. Copy the external table into a new native table, and use the copy in Softr. This duplicates the data, which can increase storage costs.

```sql
CREATE TABLE native_table_copy AS
SELECT * FROM external_table;
```

### Google BigQuery does not stay connected to Softr

The Reauthentication Policy settings in the Google Admin console cause this issue. Do one of the following:

- Set Softr as a Trusted App, then exempt Trusted Apps from reauthentication.
- Change the settings to never require reauthentication for any app.

Then reconnect your Google account with Softr. See [Google's guide](https://support.google.com/a/answer/9368756) for more details.

## FAQ

**Which plan do I need for BigQuery?**

BigQuery is available on Business and Enterprise plans.

**Can I write data to BigQuery from Softr?**

No. BigQuery is read-only in Softr. You cannot add, update or delete data, so Forms blocks do not work with it.

**What do I need in Google Cloud before I connect?**

A Google Cloud Platform project with BigQuery enabled, a dataset, and at least read-only access for Softr.

**Can I use a table that comes from Google Sheets or Drive?**

Not directly. These external tables need permissions that Softr does not request. Use a native table, or copy the external table into a native table.
