calendar Last updated: 19 November 2026
Data integration
How to's

How to Connect BigQuery to ChatGPT (2 Steps, No Code)

Try It Free

Connect your data in 1 min. Free forever plan

Got insights from this post? Give it a boost by sharing with others!

To connect Google BigQuery to ChatGPT, connect BigQuery to Windsor.ai, then install the Windsor.ai plugin in ChatGPT. You can then ask about your BigQuery tables in plain language, and ChatGPT answers from the rows Windsor.ai returns. You don’t write SQL or export a CSV first.

🚀 Connect BigQuery to ChatGPT with Windsor.ai. Start free → onboard.windsor.ai/app/big_query

Once BigQuery is connected, you can ask questions such as:

  • What was revenue by month in my orders table over the last 12 months?
  • Which campaigns in my ad spend table cost the most in the last 30 days, and how many conversions did each bring?
  • Which product categories grew week over week, and which fell?
  • What is blended ROAS when I divide BigQuery revenue by Google Ads and Meta Ads spend?

Questions about 12 months, or about BigQuery next to Google Ads and Meta Ads after the first 30 days, need a paid plan.

Ways to connect BigQuery to ChatGPT

BigQuery has no plugin from Google in ChatGPT’s plugin directory. OpenAI publishes its own BigQuery plugin there, Google publishes a remote MCP server for BigQuery, and several vendors offer their own routes. Each route below works with ChatGPT.

  • Windsor.ai plugin: install it from ChatGPT’s plugin directory and sign in. BigQuery is read-only through Windsor.ai (write actions list). You can also connect Google Ads, GA4, Meta Ads and the rest of Windsor.ai’s 350+ sources to the same plugin and ask about them in one chat. It works on every ChatGPT plan. It fits marketing and business teams who want answers from the warehouse next to their ad and analytics data.
  • OpenAI’s BigQuery plugin: built by OpenAI and listed in ChatGPT’s plugin directory. Its listing describes it as “Query and manage BigQuery” and says it can inspect projects, datasets, tables, jobs, routines, models, row access policies, IAM and query results. Its capabilities include read and write. OpenAI lists it for ChatGPT Business but does not publish which plans include it. Availability depends on your plan and workspace settings, and an admin may need to approve the plugin (OpenAI’s BigQuery plugin page). It fits teams on a plan that includes it who want OpenAI’s own plugin without a third-party account, including teams that want write access.
  • ChatGPT’s Google app actions for BigQuery: OpenAI’s help center lists BigQuery among the Google app actions ChatGPT supports. These actions request three Google scopes: bigquery, bigquery.readonly and bigquery.insertdata, the last one for inserting data. In a managed workspace, ChatGPT admins choose which Google app actions are on, and a Google Workspace admin may need to approve the scopes (OpenAI’s Google app data controls FAQ). The article does not name the BigQuery actions or the plans that include them.
  • Google’s BigQuery MCP server: Google runs a remote MCP server at https://bigquery.googleapis.com/mcp (Google’s documentation).
    • What it does: it lists datasets and tables, reads table details and runs SQL. Its execute_sql tool can change data, while execute_sql_readonly rejects changes. Results are capped at 3,000 rows, and queries stop after three minutes by default.
    • Access: the Google account that connects needs the MCP Tool User, BigQuery Job User and BigQuery Data Viewer roles on the project.
    • Setup in Google Cloud: the BigQuery API must be enabled in the project (new projects have it on already). Create the OAuth client yourself, because Google’s MCP servers don’t let ChatGPT register one automatically. In the Google Cloud console, go to Google Auth Platform, Clients, Create client, choose Web application and add https://chatgpt.com/connector_platform_oauth_redirect under Authorized redirect URIs (Google’s ChatGPT setup). Copy the client secret right away, because Google lets you copy it only once.
    • Setup in ChatGPT: open Plugins, select the plus button, then Add custom MCP server. Enter the server URL, then the client ID and secret when you configure the authentication. On ChatGPT Business, Enterprise and Edu (web), admins and owners can add custom MCP servers. On Enterprise and Edu, an admin can also let members add them. ChatGPT Pro can connect them with read and fetch permissions only (OpenAI’s help article).
    • Fit: data teams who manage Google Cloud access themselves and want ChatGPT to write its own SQL against the tables the account can read.
  • Other plugins and MCP servers: several vendors offer BigQuery routes into ChatGPT, as a plugin or a custom MCP server. Compare the access they ask for (read-only or not), the other sources they carry and the price before you choose.
  • CSV export: run a query in BigQuery, save the result as CSV and upload the file to a chat. It fits one question about a fixed result. The file does not update, and a new question about other rows needs a new export.
  • BigQuery API and your own code: build your own connection, for example a GPT Action that calls the BigQuery API. It gives full control but needs engineering work and upkeep.

Steps to connect BigQuery to ChatGPT with Windsor.ai

Connecting BigQuery to ChatGPT with Windsor.ai takes two steps and no code. First connect BigQuery to Windsor.ai, then add the Windsor.ai plugin in ChatGPT.

Windsor.ai’s documentation has the ChatGPT setup too: how to add Windsor.ai to ChatGPT.

Prerequisites

  • A Google account with access to the BigQuery project, or a service account key file (JSON) for it. Read-only access is enough: the account needs the BigQuery Data Viewer and BigQuery Job User roles.
  • A ChatGPT account. The Windsor.ai plugin is in ChatGPT’s plugin directory.
  • A Windsor.ai account. The free forever plan needs no credit card and covers one data source, one account and 30 days of history. For the first 30 days you can connect up to 10 sources. To keep BigQuery and your ad or analytics sources connected after that, paid plans start at 19 USD a month for 3 sources (Basic) or 99 USD a month for 7 (Standard), billed annually (pricing).

Step 1. Connect BigQuery to Windsor.ai

  1. Open onboard.windsor.ai/app/big_query and sign in to Windsor.ai, or create a free account.
  2. On the Connect your BigQuery account screen, choose how to sign in:
    • Grant BigQuery Access opens Google’s sign-in. Use a Google account that can see the project.
    • Use service account lets you upload a service account key file (JSON) instead. Use it when the data should not depend on one person’s Google login.
  3. Choose the BigQuery project, then the datasets, tables and views ChatGPT can read. You don’t write a SQL query during setup. Windsor.ai loads the columns of each table and view as fields.
Windsor.ai screen to connect a BigQuery account with Google sign-in or a service account

Step 2. Add the Windsor.ai plugin in ChatGPT

  1. In ChatGPT, select Plugins in the sidebar and search for Windsor.ai, or open the Windsor.ai plugin page.
  2. Select Install plugin and sign in with the same Windsor.ai account you used in step 1.
  3. In a chat, pick Windsor.ai from the + menu or type @Windsor.ai, then ask your first question.
Windsor.ai plugin page in ChatGPT, already installed, with the Settings and Try in chat buttons

Start with a question that confirms the connection and shows the columns ChatGPT can use:

@Windsor.ai List the BigQuery tables and columns you can read through Windsor.ai, with the data type of each column.

Example: comparing two weeks of BigQuery orders by category in ChatGPT

On 19 Nov 2026 we asked ChatGPT to compare two weeks of BigQuery orders by product category through the Windsor.ai plugin. Our test project holds sample e-commerce orders in one table and one view. We selected both in step 1. Windsor.ai shows each selected table or view as one account.

We started a new chat, picked the Windsor.ai plugin and sent this prompt:

@Windsor.ai From my BigQuery orders table (windsor_test.orders), compare revenue and number of orders by category for 12 to 18 November 2026 against 5 to 11 November 2026, using order_date. Leave out cancelled and returned orders. Sort by the largest drop in revenue.
ChatGPT answer comparing two weeks of BigQuery orders by product category, with overall revenue and order cards

ChatGPT read 8,383 rows for the two weeks and 6,292 after it left out cancelled and returned orders. We pulled the same table through Windsor.ai for the same dates and added it up ourselves. ChatGPT’s revenue totals matched ours: 103,727.43 for the first week and 271,658.55 for the second. Revenue and order counts for each of the 26 categories matched too. No category fell. ChatGPT said so and sorted the categories from the smallest increase to the largest.

The overall order counts did not match. ChatGPT gave 1,755 orders for the first week and 4,423 for the second. Both are the category counts added up, which counts an order with items in two categories twice. Its own calculation note said order counts use distinct order_id values. ChatGPT also put a dollar sign on the revenue figures, though the table has no currency column.

ChatGPT calculation notes for the BigQuery category comparison, with row counts and the distinct order_id note

We asked a follow-up in the same chat:

Is the overall order count the number of distinct order_id values across all categories, or the sum of the category counts? Give the distinct total for each period.

ChatGPT replied that it had added up the category counts. It then gave the distinct totals: 1,360 orders for the first week and 3,715 for the second, an increase of 173.2% on the first week. Both totals and the change match our own count of distinct order IDs.

ChatGPT correcting the overall order count to distinct order IDs per week after a follow-up question

How to ask about BigQuery tables in ChatGPT

Prompts about BigQuery work best when they name the table, the date column and the columns you mean.

  • Name the date column. A table can have several dates (order date, ship date, load date). Windsor.ai filters a warehouse table by the date column you choose. Write “by order_date” in the prompt. Without a date range, Windsor.ai returns the last 3 days.
  • Give the period. The free forever plan reaches back 30 days. Prompts about a quarter, 12 months or year over year need a paid plan.
  • Say what a metric means. ChatGPT gets the column names, without your team’s definitions of them. If revenue includes tax or refunds in your table, say so in the prompt, or ChatGPT may assume a definition you did not mean.
  • Ask for totals first. Ask ChatGPT for the period total from the table before a breakdown, and compare it with the same total in the BigQuery console the first time you use a table.
  • Ask for distinct counts across the whole period. In a table with one row per item, an order with items in two categories appears under both. Ask for the number of distinct order IDs for the whole period as its own figure, because adding up the category counts counts those orders twice.

Prompts to try with BigQuery data in ChatGPT

Replace the table and column names with your own.

Revenue by month

@Windsor.ai From the orders table in BigQuery, sum revenue by month of order_date for the last 12 months. Show the month-over-month change as a percentage and name the three weakest months.

A 12-month period needs a paid plan.

Campaign spend and conversions

@Windsor.ai From the ads_daily table, filter by date for the last 30 days. Rank the top 10 campaigns by spend and show clicks, conversions and cost per conversion for each. Flag campaigns with spend above 500 and fewer than 5 conversions.

Week-over-week change by category

@Windsor.ai From the order_items table, compare units sold and revenue by product_category for the last 7 days against the 7 days before, using order_date. Sort by the largest drop in revenue.

Data quality check

@Windsor.ai From the orders table for the last 30 days by order_date, count rows per day and list the days with no rows or with fewer than half the daily average.

Blending BigQuery with other sources in ChatGPT

BigQuery often holds data that ad platforms do not have, such as orders from your own backend, refunds or CRM stages. With BigQuery and an ad source connected to the same Windsor.ai account, ChatGPT can put them side by side in one answer.

@Windsor.ai For the last 30 days, take daily revenue from the BigQuery orders table by order_date, and daily spend from Google Ads and Meta Ads. Show total spend, total revenue and blended ROAS (revenue divided by total spend) per week.

Keeping BigQuery and two ad sources connected after the first 30 days needs the Basic plan (3 sources) or higher. Related guides: how to connect Google Ads to ChatGPT and how to connect GA4 to ChatGPT.

How the Windsor.ai plugin works with BigQuery and ChatGPT

When you ask a question, ChatGPT asks the Windsor.ai plugin for the table, columns and date range it needs. Windsor.ai reads those rows from BigQuery and returns them, and ChatGPT answers from the result, as text, a table or a summary.

  • Read only: ChatGPT cannot insert, update or delete rows through the plugin, because Windsor.ai has no write actions for BigQuery (write actions list).
  • Cache: Windsor.ai caches query results for 6 hours. If a table changed in the last few hours, the same question can return the earlier result.
  • Access: Windsor.ai reads only what the Google account or service account from step 1 can see in BigQuery. To end the access, remove the connection in Windsor.ai. If you signed in with Google, also revoke Windsor.ai’s access in your Google account settings. If you used a service account, delete its key in Google Cloud.
  • Costs: Windsor.ai’s queries run in your own Google Cloud project. Windsor.ai adds no usage charge for the rows it reads. Google still bills your project for the BigQuery compute those queries use and for storing your tables.

If something does not work

  • ChatGPT says it cannot find BigQuery: check that you signed in to the same Windsor.ai account in ChatGPT and in step 1, and that BigQuery shows as connected at onboard.windsor.ai/app/big_query.
  • A table or column is missing: the Google account or service account from step 1 needs the BigQuery Data Viewer role on that dataset in Google Cloud. The table also has to be one you chose in step 1.
  • A new dataset does not show up: reload the BigQuery connector in Windsor.ai first. Reconnect BigQuery only if the new dataset still does not appear in Windsor.ai.
  • The answer covers only a few days: add a date range and the date column to the prompt. Without one, Windsor.ai returns the last 3 days.
  • Numbers differ from the BigQuery console: check that the prompt and your console query use the same date column and period, and that the table did not change within the 6-hour cache window.

Conclusion

The Windsor.ai plugin gives ChatGPT read access to your BigQuery tables in two steps, and you can add Google Ads, GA4 or Meta Ads to the same chat for blended reports. Google’s BigQuery MCP server fits data teams who want ChatGPT to run its own SQL, and OpenAI’s BigQuery plugin fits teams on a plan that includes it.

For the same setup in another assistant, see how to connect BigQuery to Claude. Other ChatGPT sources are on the ChatGPT integrations hub.

🚀 Connect BigQuery to ChatGPT with Windsor.ai. Free forever plan, no credit card → onboard.windsor.ai/app/big_query

FAQs

Do I need to know SQL to ask ChatGPT about BigQuery data?

No. You ask in plain language and name the table and columns you mean. Windsor.ai reads the rows, and ChatGPT writes the answer. Knowing your table and column names helps more than knowing SQL.

Tired of juggling fragmented data? Get started with Windsor.ai today to create a single source of truth

Let us help you automate data integration and AI-driven insights, so you can focus on what matters, growth strategy.
g logo
fb logo
big query data
youtube logo
power logo
looker logo