> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/settings/integrations/code-hosting-platforms/github/troubleshooting/github-permissions.md).

# Updating app permissions

Swarmia will occasionally request new Github permissions in order to implement new features. Accepting these permission requests is optional, but recommended so that you get the full benefit out of Swarmia.

{% hint style="info" %}
You need to be an admin of the Github organization to accept the permission request.
{% endhint %}

Administrators of the Github organization will get an email about the permission request where you can accept it:

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Fgit-blob-6e3f72b251e26b8b6e86be5a13b658a3ab684412%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Alternatively, if you are an administrator of the organization, you can also accept the permission request from your organization's Github apps settings:

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2Fgit-blob-74e23ba423d9883e665c8c4ef0aadf8bd55749c0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

After the permission has been granted, Swarmia will automatically get notified of it and will start using the new permissions.


---

# 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://help.swarmia.com/settings/integrations/code-hosting-platforms/github/troubleshooting/github-permissions.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.
