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

# BigQuery integration

> Connect BigQuery to End Close through Fivetran so warehouse data can feed data streams you reconcile.

The BigQuery integration connects your BigQuery project to End Close through Fivetran, so warehouse data can feed End Close [data streams](https://endclose.com/docs/concepts/data-streams.md) and be reconciled. You enter your BigQuery connection details in Fivetran's setup form; End Close doesn't store them.

## At a glance

| | |
| - | - |
| **Connects as** | A Fivetran connection to your BigQuery project |
| **Data synced** | Warehouse rows, as records in BigQuery data streams |
| **Who can set it up** | Admins connect; End Close sets up the streams with you |
| **Per environment** | Yes. Each End Close environment has its own BigQuery connection. |

## Prerequisites

* An End Close admin.
* BigQuery connection details for a user that can read the data you want to reconcile.

## Connect BigQuery

**1. Open BigQuery in End Close**

Go to **Settings → Integrations** and choose **BigQuery** under **Data warehouses**.

**2. Enter the connection details in Fivetran**

Choose **Connect**. End Close sends you to a Fivetran setup form. Enter your BigQuery connection details there and finish the form. The credentials go to Fivetran; End Close doesn't store them.

**3. Return to End Close**

Fivetran sends you back to End Close, and the BigQuery dialog shows **Connected**.

If you leave the Fivetran form before finishing, the dialog shows **Action needed**. Choose **Finish setup** to return to the form.

## Set up BigQuery streams

Once BigQuery is connected, End Close sets up which data feeds your BigQuery streams with you. Contact [founders@endclose.com](mailto:founders@endclose.com) with the tables you want to reconcile. Each row needs a unique identifier, an amount, a date and a direction (credit or debit).

If you'd rather send the data yourself, push it to an API data stream. See the [API overview](https://endclose.com/docs/api-reference/overview.md).

## FAQ

> [accordion] Does End Close store my BigQuery credentials?
>
> No. You enter them in Fivetran's setup form, and Fivetran holds them.

> [accordion] Can I connect BigQuery in more than one environment?
>
> Yes. Connect it separately in each environment. Records synced into one environment don't appear in another.

## Related

> [card] [Data streams](https://endclose.com/docs/concepts/data-streams.md)
>
> How streams hold records and feed reconciliations.

> [card] [How connections work](https://endclose.com/docs/integrations/how-connections-work.md)
>
> Streams, environments and who can connect.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.