> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/de/kontext/memory-stores/add-data/import-from-sql-database/data-sources/bigquery.md).

# BigQuery

Eine BigQuery-Datenbank in AirOps verbinden

{% hint style="info" %}
**Denk daran, unsere IP-Adresse auf die Allowlist zu setzen `52.71.87.39`**

Wenn deine Datenbank durch eine Firewall geschützt ist, denke daran, eingehenden Zugriff für die IP-Adresse von AirOps über deinen Datenbank-Port zu erlauben.
{% endhint %}

## Google Cloud Platform-Dienstkonto einrichten und Zugriff gewähren (für neue Nutzer)

Um ein Google BigQuery Data Warehouse als Datenquelle in AirOps hinzuzufügen, verwenden Sie ein Google Cloud Platform-Dienstkonto mit **Lesezugriff** Zugriff auf die gewünschten Datasets und Tabellen:

### 1. Erstellen Sie ein Google Cloud Platform-Dienstkonto

1. Gehen Sie zu der [Google Cloud Platform Console](https://console.cloud.google.com/).
2. Klicken Sie auf das Projekt-Dropdown und wählen Sie das Projekt aus, das Ihr BigQuery-Dataset enthält.
3. Navigiere zum **IAM & Admin** Seite und klicken Sie dann auf **Dienstkonten**.
4. Klicken Sie auf **+ DIENSTKONTO ERSTELLEN** oben auf der Seite.
5. Geben Sie einen Namen für Ihr Dienstkonto ein und klicken Sie auf **Erstellen Sie**.
6. Auf der **Gewähren Sie diesem Dienstkonto Zugriff auf das Projekt** Seite wählen Sie die **BigQuery Data Viewer** und **BigQuery Job User** Rollen.
7. Klicken Sie auf **Weiter**, und klicken Sie dann auf **Fertig**.

### 2. Erstellen Sie einen JSON-Schlüssel für das Dienstkonto

1. Im **Dienstkonten** Seite finden Sie das soeben erstellte Dienstkonto.
2. Klicken Sie auf die **Actions** Menü (drei vertikale Punkte) und wählen Sie **Schlüssel erstellen**.
3. Wählen Sie **JSON** als Schlüsseltyp aus und klicken Sie auf **Erstellen Sie**.
4. Speichern Sie die generierte JSON-Schlüsseldatei auf Ihrem Computer.

<figure><img src="https://files.readme.io/b48622d-image.png" alt="" width="375"><figcaption></figcaption></figure>

### 3. Geben Sie den Inhalt der JSON-Schlüsseldatei in AirOps ein

1. Öffnen Sie die JSON-Schlüsseldatei mit einem Texteditor.
2. Kopieren Sie den gesamten Inhalt der JSON-Schlüsseldatei.
3. Fügen Sie in AirOps den Inhalt der JSON-Schlüsseldatei in das **JSON-Schlüssel** Feld ein.

Jetzt sollte Ihr Google BigQuery Data Warehouse verbunden und in AirOps einsatzbereit sein.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/de/kontext/memory-stores/add-data/import-from-sql-database/data-sources/bigquery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
