> 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/knowledge-bases/add-data/import-from-sql-database/data-sources/bigquery.md).

# BigQuery

Eine BigQuery-Datenbank in AirOps verbinden

{% hint style="info" %}
**Denken Sie daran, unsere IP-Adresse auf die Zulassungsliste zu setzen. `52.71.87.39`**

Wenn Ihre Datenbank durch eine Firewall geschützt ist, denken Sie daran, eingehenden Zugriff auf die IP-Adresse von AirOps über den Datenbankport zuzulassen.
{% 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 **Lese-** zugriff auf die gewünschten Datasets und Tabellen:

### 1. Google Cloud Platform-Dienstkonto erstellen

1. Rufen Sie die [Google Cloud Platform Console](https://console.cloud.google.com/).
2. Klicken Sie auf das Projektauswahlmenü und wählen Sie das Projekt aus, das Ihr BigQuery-Dataset enthält.
3. Navigieren Sie zur Seite **IAM & Admin** und klicken Sie anschließend auf **Dienstkonten**.
4. Klicken Sie oben auf der Seite auf **+ CREATE SERVICE ACCOUNT** .
5. Geben Sie einen Namen für Ihr Dienstkonto ein und klicken Sie auf **Erstellen**.
6. Wählen Sie auf der Seite **Diesem Dienstkonto Zugriff auf das Projekt gewähren** die Rollen **BigQuery Data Viewer** und **BigQuery Job User** aus.
7. Klicken Sie auf **Weiter**und anschließend auf **Fertig**.

### 2. JSON-Schlüssel für das Dienstkonto generieren

1. Suchen Sie auf der Seite **Dienstkonten** das soeben erstellte Dienstkonto.
2. Klicken Sie auf das Menü **Aktionen** (drei vertikale Punkte) und wählen Sie **Schlüssel erstellen**.
3. Wählen Sie **JSON** als Schlüsseltyp aus und klicken Sie auf **Erstellen**.
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. Inhalt der JSON-Schlüsseldatei in AirOps eingeben

1. Öffnen Sie die JSON-Schlüsseldatei in 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 Feld **JSON-Schlüssel** ein.

<figure><img src="https://1960680173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-c791fb7eb606e0835aa7e64e4f699976449f239d%2Fbigquery-01-connection-form.png?alt=media" alt="BigQuery connection form with a project ID, an uploaded service account key JSON file, a region, and Connect"><figcaption><p>Laden Sie die JSON-Schlüsseldatei des Dienstkontos in AirOps hoch.</p></figcaption></figure>

Ihr Google BigQuery Data Warehouse sollte jetzt 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/knowledge-bases/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.
