# Big Query

UI Bakery allows you to easily connect to Big Query data warehouse with no need for additional layers like APIs or third-party services.

## Configuration

### Prerequisites

To establish a connection between UI Bakery and Big Query, you will first need to [create a private key](https://cloud.google.com/docs/authentication/getting-started).

### Connecting the data source

Once you've obtained the key, you can proceed to connecting the data source.

1. On the **Data sources** page, click **Connect**, and select *Big Query* in the Data sources list.
2. Specify your dataset, service account credentials (your private key), and region qualifier.
3. Click **Test connection** to check whether the data source can be connected, and then click **Connect Datasource** to complete the setup.

UI Bakery will extract the database structure and store column types. This data will be used to suggest the proper [table columns and form field types](/concepts/components/work-with-components/field-types-and-types-recognition.md).

<figure><img src="/files/AoUqPHDCQ9vVw19GVTj1" alt=""><figcaption></figcaption></figure>

## Usage

Once you've established the connection between UI Bakery and your Big Query database, you can start interacting with its data.&#x20;

To manage data from Big Query, you can use the [SQL Query](/reference/working-with-actions/sql-query.md) action step.

{% hint style="danger" %}
Note that pre-defined actions, such as *Load Table*, *Create Row*, etc. are NOT supported with this datasource.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/reference/data-sources/bigquery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
