> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# BigQuery OAuth

> BigQuery OAuth: Set up OAuth for secure BigQuery connections with Paradime for dbt™ projects. Ensure secure data access.

export const Arcade = ({src, title}) => <div style={{
  position: 'relative',
  paddingBottom: 'calc(56.2225% + 41px)',
  height: 0,
  width: '100%'
}}>
    <iframe src={src} title={title} frameBorder="0" loading="lazy" allow="clipboard-write" allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  colorScheme: 'light'
}} />
  </div>;

Paradime supports OAuth authentication with BigQuery. When BigQuery OAuth is enabled, users can authorize their Development credentials using Single Sign On (SSO) via BigQuery.

If BigQuery is setup with SSO through a third-party identity provider, developers can use this method to login to BigQuery and authorize the dbt™️ Development credentials without any additional setup.

<Card title="Bigquery" href="/products/settings/connections/development-environment/bigquery" horizontal icon="arrow-right" />

## **Creating a BigQuery OAuth 2.0 client ID and secret**

To enable OAuth, you will need to create a Client ID and Secret to [authenticate](https://cloud.google.com/bigquery/docs/authentication) with GCP and manage the OAuth connection between Paradime and BigQuery.

In the Big Query Console, navigate to **APIs & Services** and select **Credentials**. If you haven't already, you will need to set up an [OAuth consent screen](https://support.google.com/cloud/answer/6158849) then click on `+ Create Credentials` in the top navigation bar and select from the menu **OAuth client ID**. &#x20;

<Arcade src="https://demo.arcade.software/yXcTWHFlFMpwCSG4K4YK?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="BigQuery OAuth" />

## Required Configurations

Use the below configurations to set up the BigQuery OAuth app and click on the `Create` button. You will generate the Client ID and Secret, that will be required to connect Paradime to your BigQuery account.

| Config                        | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| APPLICATION TYPE              | Web application                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| NAME                          | paradime                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| AUTHORIZED JAVASCRIPT ORIGINS | Required. Use the correct domain, you can check your selected region during onboarding in the Workspace Management section of your Account Settings.🇪🇺 **eu-west-2 (Europe - London)**`https://api.paradime.io`🇪🇺 **eu-west-1 (Europe - Ireland)**`https://eu-w1-api.paradime.io`🇪🇺 **eu-central-1 (Europe - Frankfurt)**`https://eu-c1-api.paradime.io`🇺🇸 **us-east-1 (US East - N. Virginia)**`https://api.us.paradime.io`                                                                                                                                 |
| AUTHORIZED REDIRECT URIs      | Required. Use the correct domain, you can check your selected region during onboarding in the Workspace Management section of your Account Settings.🇪🇺 **eu-west-2 (Europe - London)**`https://api.paradime.io/control-plane/bigquery/redirect`🇪🇺 **eu-west-1 (Europe - Ireland)**`https://eu-w1-api.paradime.io/control-plane/bigquery/redirect`🇪🇺 **eu-central-1 (Europe - Frankfurt)**`https://eu-c1-api.paradime.io/control-plane/bigquery/redirect`🇺🇸 **us-east-1 (US East - N. Virginia)**`https://api.us.paradime.io/control-plane/bigquery/redirect` |

## OAuth 2.0 Scopes for Google APIs

Paradime BigQuery OAuth app will request the below scopes:

* `https://www.googleapis.com/auth/bigquery`
* `https://www.googleapis.com/auth/drive.readonly`
* `https://www.googleapis.com/auth/devstorage.read_only`


## Related topics

- [BigQuery](/products/settings/connections/development-environment/bigquery.md)
- [BigQuery Tools](/products/dino-ai/tools-and-features/warehouse-tool/bigquery-tools.md)
- [BigQuery cost connection](/products/settings/connections/cost-connection/bigquery-cost-connection.md)
