# BigQuery

Allows you to configure BigQuery as a destination for Inforiver writeback. You can either configure using the JSON or the P12 key type. The details listed in the table below will have to be entered depending on the chosen key type:

| JSON(Recommended) | P12                   |
| ----------------- | --------------------- |
| Dataset ID        | Project ID            |
| Json Key          | Dataset ID            |
| Table Name        | Service Account Email |
|                   | Private Key           |
|                   | Table Name            |

{% hint style="info" %}

* If the tenant administrator creates a connection at admin level, the Dataset ID and Project ID fields will be populated automatically.
* Ensure that the user has permission to SELECT, INSERT, UPDATE, and DELETE data from the table
  {% endhint %}

<div><figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FgyCUDprz7RJzq7S9QkNR%2Fimage.png?alt=media&#x26;token=14b28ebf-cb67-4296-a1e9-151b5f3db040" alt=""><figcaption><p>Configuring BigQuery with JSON key type</p></figcaption></figure> <figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fuc7OwZooAWqbstVSZm7q%2F2025-04-18_17h30_19.png?alt=media&#x26;token=f5be07c5-f507-4b34-9d6e-17051c257246" alt=""><figcaption><p>Configuring BigQuery with P12 key type</p></figcaption></figure></div>

### 1. Generating the JSON key

&#x20;Select the **Create new key** option from the ADD KEY dropdown.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FKwODC5S9Sgng7PUSslQe%2Fimage.png?alt=media&#x26;token=f5a10ff2-b0de-4392-bf11-3d1972c85b58" alt=""><figcaption><p>Create new key</p></figcaption></figure>

Select the JSON radio button.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FPcRR0igxOJYeidfFGbO0%2Fimage.png?alt=media&#x26;token=bdce186d-c841-45c5-b61d-f0a6ccc37e50" alt=""><figcaption><p>Choose the JSON option</p></figcaption></figure>

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F0ShpOxLkFVXXHHfxTiXV%2Fimage.png?alt=media&#x26;token=573af97d-24cf-474e-9532-216bea956d6a" alt=""><figcaption><p>Key saved notification</p></figcaption></figure>

### 2. Roles

Ensure that the account has “Data Editor” permission.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FwZa1z7G0Y7NJSux5JWfx%2Fimage.png?alt=media&#x26;token=71fc7166-65f2-4e67-9032-b250fd4d29e2" alt=""><figcaption><p>Account should have Data Editor permissions</p></figcaption></figure>
