# Tổng quan Google BigQuery

## Google Big Query là gì?

Có thể hiểu đơn giản Google BigQuery là một kho dữ liệu (data warehouse) trên nền tảng điện toán đám mây của Google (Google Cloud) cho phép bạn chạy các truy vấn siêu nhanh trên các tập dữ liệu lớn.

## Các thao tác kết nối Google Big Query?

### Bước 1: Đăng nhập.

Đăng nhập vào <https://console.cloud.google.com/> để tạo project lưu data.

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

### Bước 2: Tạo project.

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

### Bước 3: Tạo Dataset.

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

### Bước 4: Tạo Service Accounts để có thể kết nối được với PangoCDP.

#### 4.1 Đăng nhập.

* Đăng nhập vào website <https://console.cloud.google.com/>.
* Chọn IAM & Admin.
* Chọn Service Accounts.

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

#### 4.2 Nhập Service Account Name và Decription.

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

#### 4.3 Cài đặt quyền truy cập Project cho Service Account.

<figure><img src="/files/10ImV1HF6PpjQVR98pin" alt=""><figcaption></figcaption></figure>

#### 4.4 Cài đặt User hoặc Admin cho Service Account.

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

#### 4.5 Click vào Account emal vừa tạo.

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

#### 4.6 Chọn thẻ Keys

* Add Key.
* Create new key.
* Nhấn "Create".

<figure><img src="/files/3o4lafzIPJdHdCAZEgen" alt=""><figcaption></figcaption></figure>

#### 4.7 File Token dạng Json.

<figure><img src="/files/6c1x52coq86y96ea2Ucl" alt=""><figcaption></figcaption></figure>

### Bước 5: Đấu nối PangoCDP với Google Bigquery.

#### 5.1 Đăng nhập account PangoCDP chọn Module Console (CON).

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

#### 5.2 Chọn thẻ Connections.

* Chọn Database.
* Chọn GCP Bigquery.
* Chọn "Connect".

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

#### 5.3 Cấu hình kết nối.

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

#### 5.4 Nhập Project ID và Dataset Name vào mục Extend Parameters.

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

#### 5.5 Nhập Token Và Kiểm Tra Kết Nối.

* Chọn Connection Settings.
* Nhập Token.
* Test Connection.

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

Như vậy là mình đã hoàn thành phần tạo kết nối GG Bigquery vào PangoCDP rồi.


---

# 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:

```
GET https://help.pangocdp.com/user-guide/module-console/connections/database/tong-quan-google-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.
