> For the complete documentation index, see [llms.txt](https://humanic.gitbook.io/humanic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://humanic.gitbook.io/humanic/guides/find-your-bigquery-credentials.md).

# Find your BigQuery Credentials

To connect Humanic with your BigQuery data warehouse, you'll need to provide three pieces of information: the Project ID, Dataset ID, and a Service Account JSON key. Follow these steps to locate these credentials:

### Finding Project ID

* Sign in to the [Google Cloud management console](https://console.cloud.google.com/).
* Navigate to the Dashboard of your project.
* In the "Project info" section of the Dashboard, you'll find the **Project ID** displayed.

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

### Finding Dataset ID

To find the Dataset ID, follow these steps in the BigQuery Studio:

* In the "Explorer" panel, expand your project to view the list of datasets.

  <figure><img src="/files/ABdqRXYVr4tvGVJ8zfvp" alt=""><figcaption></figcaption></figure>
* Locate the dataset you want to connect to Humanic.
* You can find the Dataset ID in two ways:\
  **Option 1: Copy Dataset ID**

  * Click on the three dots next to the dataset name.
  * Select "Copy ID" from the dropdown menu.
  * The Dataset ID will be copied to your clipboard.

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

  **Option 2: View Dataset Info**

  * Click on the dataset name to open the "Dataset info" panel on the right.
  * The Dataset ID will be displayed in the "Dataset info" section.

  <figure><img src="/files/8XIEn1V0qJostSS85XS4" alt=""><figcaption></figcaption></figure>

### Generating a Service Account JSON Key

**To create a BigQuery service account key**

* Make sure that you have API enabled on your [BigQuery API](https://console.cloud.google.com/apis/library/bigquery.googleapis.com) page. If you don’t see **API Enabled**, choose **Enable**.
* On the [Service accounts](https://console.cloud.google.com/iam-admin/serviceaccounts) page, choose your BigQuery project, and then choose **Create service account**.
* On the **Service account details** page, enter a descriptive value for **Service account name**. Choose **Create and continue**. The **Grant this service account access to the project** page opens.

  <figure><img src="/files/OzVeXjc4sziB2LQy7F8y" alt=""><figcaption></figcaption></figure>
* Choose **Continue**, and then choose **Done**.
* On the [Service accounts](https://console.cloud.google.com/iam-admin/serviceaccounts) page, choose the service account that you created.
* On the Service Accounts page, click on the three dots next to the service account you just created and select "Manage Keys".

  <figure><img src="/files/2sN34mjnLIS1Uj8eWAMr" alt=""><figcaption></figcaption></figure>
* Click "Add Key" > "Create New Key".

  <figure><img src="/files/Av1IZbySzFa39dEPRrd9" alt=""><figcaption></figcaption></figure>
* Select "JSON" as the key type and click "Create". The JSON key file will be downloaded to your machine.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://humanic.gitbook.io/humanic/guides/find-your-bigquery-credentials.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
