> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enclave.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# GitHub

> Autorisieren Sie Enclave, Ihre GitHub-Repositorys zu lesen, PR-Analysen auszuführen und Findings als PR-Kommentare zu veröffentlichen.

Verbinden Sie GitHub, damit Enclave Ihre Repositorys lesen, Pull Requests prüfen und mit verifizierten Findings kommentieren kann. Funktioniert mit GitHub.com.

## Bevor Sie beginnen

* Sie benötigen in Enclave die Rolle **Owner** oder **Admin**.
* In GitHub müssen Sie Apps für das Konto installieren dürfen: als **Organization Owner** oder als **Repository Admin** für die ausgewählten Repositorys.

> [!WARNING]
>
> Wenn Sie keine Apps installieren dürfen, sendet GitHub stattdessen eine Anfrage an die Owner Ihrer Organisation. Enclave zeigt **Installation requires admin approval** an, bis ein Owner die Enclave GitHub App genehmigt.

## GitHub verbinden

**1. Integrationen öffnen**

Öffnen Sie **Settings → Integrations** in [app.enclave.ai](https://app.enclave.ai). Klicken Sie neben **GitHub** auf **Connect**.

**2. Enclave GitHub App installieren**

Klicken Sie auf **Connect a GitHub organization or account**. Sie werden zu GitHub weitergeleitet, um die Enclave GitHub App für Ihr Konto oder Ihre Organisation zu installieren. Wählen Sie **All repositories** oder eine bestimmte Auswahl.

> [!NOTE]
>
> Die App fordert **Lesezugriff** auf Code, Pull Requests und Webhook-Ereignisse an. Enclave pusht nie Commits und liest nie Repository-Secrets.

**3. Autorisierte Repositorys bestätigen**

Zurück in Enclave erscheint das Konto unter **Connected organizations** in **Settings → Integrations → GitHub**. Klicken Sie darauf und öffnen Sie den Tab **Repositories**, um die Repositorys zu sehen, die Enclave lesen kann. Um die Liste zu ändern, klicken Sie auf **Manage** und bearbeiten Sie die Installation auf GitHub.

**4. Repositorys für PR-Reviews auswählen**

Automatische PR-Reviews sind standardmäßig für jedes GitHub-Repository aktiviert. Um sie für ein Repository zu deaktivieren, verwenden Sie dessen Schalter **PR Reviews** unter **Coverage → Repositories**. Siehe [PR- und Abhängigkeitsanalyse](https://docs.enclave.ai/de/risk/pr-analysis.md).

## Tipps

* **Installieren Sie die App für die gesamte Organisation.** Später erstellte Repositorys werden dann automatisch verbunden.
* **Verbinden Sie jedes Repository eines Systems.** Enclave findet serviceübergreifende Probleme nur, wenn es beide Seiten sieht.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.