{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-agen-for-work/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["Notification","LightboxImage"]},"type":"markdown"},"seo":{"title":"BigQuery integration","siteUrl":"https://developers.frontegg.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"bigquery-integration","__idx":0},"children":["BigQuery integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["BigQuery is Google Cloud's fully managed, serverless data warehouse that enables scalable analysis over large datasets. The BigQuery integration allows your application to connect to BigQuery through Frontegg, enabling users to run queries, manage datasets and tables, and stream data — all through a secure OAuth 2.0 connection."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Prerequisites","type":"attention"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Google Cloud account with an active project"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Admin or editor permissions on the Google Cloud project"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["BigQuery API enabled in your Google Cloud project"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"connect-bigquery","__idx":1},"children":["Connect BigQuery"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-1-open-the-google-cloud-console","__idx":2},"children":["Step 1: Open the Google Cloud console"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://console.cloud.google.com/"},"children":["Google Cloud Console"]}," and select your project from the project selector at the top of the page. If you do not have a project yet, create a new one."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-1.dac42881c76381e4605746680d93d446e1609bc155947e05b8dd4a5d27de4c9e.1ce25488.png","alt":"Google Cloud Console welcome page"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-2-enable-the-bigquery-api","__idx":3},"children":["Step 2: Enable the BigQuery API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["APIs & Services"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Library"]}," and search for ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["BigQuery API"]},". If it is not already enabled, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enable"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-6.becf873f17cf62876e41a1ce1fdec22a666a0c55ae79c7fdd2837cf7e6c25fdb.1ce25488.png","alt":"BigQuery API enabled"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-3-navigate-to-the-credentials-page","__idx":4},"children":["Step 3: Navigate to the credentials page"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["APIs & Services"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Credentials"]},". This page lists all your existing API keys, OAuth 2.0 Client IDs, and service accounts. Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create credentials"]}," and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth client ID"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-2.f53918ed47f7629e1c8784e49c427021acda78f33ac109e675e6dab83bd6ae6a.1ce25488.png","alt":"Credentials page with Create credentials menu"},"children":[]}]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-3.d7eedceece65a2019fdeea98925e823669319824d3b49fb5aefe1d176a39dc88.1ce25488.png","alt":"Select OAuth client ID from dropdown"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-4-create-an-oauth-client-id","__idx":5},"children":["Step 4: Create an OAuth client ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create OAuth client ID"]}," page, configure the following:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Application type"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Web application"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}," to a descriptive name (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Frontegg Integration"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorized redirect URIs"]},", click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add URI"]}," and enter the following redirect URIs:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://YOUR_MCP_GATEWAY_URL/integration-callback"]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-4.ad2fc7052ec68e494ee5552469617213ed7ea2896d44369ce3df4142206bdb26.1ce25488.png","alt":"OAuth client ID creation form with redirect URIs"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-5-copy-your-credentials","__idx":6},"children":["Step 5: Copy your credentials"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After creating the OAuth client, a dialog appears with your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},". Copy both values and store them securely — the Client Secret will not be shown again after you close this dialog."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/bigquery-5.43045b618b999b36001ad7bb5f514506851b312f81e21628fa8dd1042dbd3fe6.1ce25488.png","alt":"OAuth client created dialog with credentials"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-6-configure-oauth-scopes","__idx":7},"children":["Step 6: Configure OAuth scopes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The BigQuery integration requires the following OAuth scopes:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Scope"},"children":["Scope"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/bigquery"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full access to BigQuery resources"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/bigquery.readonly"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only access to BigQuery data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/bigquery.insertdata"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Insert data into BigQuery tables"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/cloud-platform"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Full access to Google Cloud Platform resources"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openid"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OpenID Connect authentication"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/userinfo.email"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access to user email address"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/userinfo.profile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access to user profile information"]}]}]}]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Minimum required scopes","type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For basic read-only functionality, you need: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/bigquery.readonly"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openid"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://www.googleapis.com/auth/userinfo.email"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-the-frontegg-portal","__idx":8},"children":["Configure the Frontegg portal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once you have obtained your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]}," from the steps above, enter them in the integration configuration page of the Frontegg portal:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Frontegg portal"]}," and navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Environment]"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["BigQuery"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]}," in the corresponding fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the required ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["scopes"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"."]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Keep your credentials secure","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never share or commit your Client Secret to version control."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":9},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://cloud.google.com/bigquery/docs"},"children":["BigQuery documentation"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://console.cloud.google.com/"},"children":["Google Cloud Console"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.google.com/identity/protocols/oauth2"},"children":["Google OAuth 2.0 setup"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/agen-for-work/connectors/redirect-url"},"children":["How to get your Redirect URL"]}]}]}]}]},"headings":[{"value":"BigQuery integration","id":"bigquery-integration","depth":2},{"value":"Connect BigQuery","id":"connect-bigquery","depth":3},{"value":"Step 1: Open the Google Cloud console","id":"step-1-open-the-google-cloud-console","depth":4},{"value":"Step 2: Enable the BigQuery API","id":"step-2-enable-the-bigquery-api","depth":4},{"value":"Step 3: Navigate to the credentials page","id":"step-3-navigate-to-the-credentials-page","depth":4},{"value":"Step 4: Create an OAuth client ID","id":"step-4-create-an-oauth-client-id","depth":4},{"value":"Step 5: Copy your credentials","id":"step-5-copy-your-credentials","depth":4},{"value":"Step 6: Configure OAuth scopes","id":"step-6-configure-oauth-scopes","depth":4},{"value":"Configure the Frontegg portal","id":"configure-the-frontegg-portal","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3}],"frontmatter":{"seo":{"title":"BigQuery integration"}},"lastModified":"2026-05-01T18:45:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/agen-for-work/connectors/marketplace/bigquery","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}