# GitHub

Connect Alhena to your GitHub organization to provide AI-powered responses to discussions and issues in your repositories.

## Prerequisites

* A GitHub account with admin access to your organization
* Repositories where you want to enable Alhena

## Setup

1. In Alhena, go to **Settings > Integrations**
2. Find **GitHub** and toggle it on
3. You'll be redirected to GitHub to install the Alhena app
4. Select your organization
5. Choose which repositories to enable

Once connected, you can configure settings in the integration.

***

## How It Works

When enabled for a repository, Alhena can:

* Monitor new discussions and issues
* Provide AI-generated responses based on your documentation and training
* Help answer common questions from your community

***

## Disconnecting

GitHub cannot be disconnected from within Alhena. To remove the integration:

1. Go to your GitHub organization settings
2. Navigate to **Installed GitHub Apps**
3. Find Alhena and uninstall or configure access


---

# Agent Instructions: 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://alhena.gitbook.io/docs/integrations/communication/integrating-alhena-ai-with-github.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.
