# Github Integration

### Configure your Github Organization / Account

1. Add the Betsy Bot Github Application to your organization <https://github.com/apps/betsy-bot/installations/select_target>
2. Get your installation ID for the bot.
   1. You can find this in the URL when configuring the bot
      1. Go to your Oranization Settings
      2. Go to Github Apps
      3. ![](/files/AF9cPVFCSzRP9Bxy8hiP)
      4. Hit "Configure" on Betsy Bot
      5. ![](/files/nITJf89GQxhk1oVVtbg5)
      6. Find the Installation ID in your URL
      7. ![](/files/AhV21qM2AOmzHkS8MDgE)
3. Enter your organization name and Installation ID into the settings page on the "Github" page in the Betsy Admin Panel
4. ![](/files/YMWs7OSypZEQDc7Bm4ip)
5. Hit Save


---

# 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://docs.betsybot.xyz/extras/github-integration.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.
