# How to re-authorize / re-initiate GitHub integration with repository level access?

Hivel currently only supports GitHub accounts that are associated with an organization. Often, this step is missed when setting up a GitHub account, and you may have run into an error when creating an account on Hivel. When you encounter this error during the initial process, we recommend you follow the below steps to create an organization and link your current users to the organization.

&#x20;

To re-initiate/reauthorize GitHub integration with Hivel, follow these steps:

1. Log in to your GitHub account.

2. Revoke the Hivel app access from your GitHub account by going to **Settings** > **Account Settings** > **Third Party apps** > **GitHub apps** > **Hivel**.<br>

   <figure><img src="/files/tOPfAkcdhz28QSRsgUHc" alt="" width="440"><figcaption></figcaption></figure>

   <figure><img src="/files/2yrXkvQFeXusLAIppSPG" alt="" width="563"><figcaption></figcaption></figure>

3. Click on **Configure** -> Scroll down and **uninstall** the app.<br>

   <figure><img src="/files/oJrLQmFDPFnqH7rQZRVe" alt="" width="563"><figcaption></figcaption></figure>

4. Return to your Hivel account. Go to **Settings > Integrations**. You will see a "**Reauthorize**" button on the GitHub card. (If you're not able to see it, please reach out to [<mark style="color:purple;">support@hivel.ai</mark>](mailto:support@hivel.ai))

<figure><img src="/files/Ls4oxmaszT4VlM8g7AtZ" alt="" width="113"><figcaption></figcaption></figure>

5. Select **"Repository-level Access"**<br>

   <figure><img src="/files/BSoLMiLoIXCxsH0XhSSK" alt="" width="375"><figcaption></figcaption></figure>
6. You will be redirected to the Github app installation page where you have to click on **"Install"** for the Hivel app.<br>

   <figure><img src="/files/BSvmD5v6faLvuDOCfDoN" alt="" width="563"><figcaption></figcaption></figure>
7. Select the org where you want to integrate Hivel<br>

   <figure><img src="/files/pk5JC3cCJQZgSqczUW8f" alt="" width="375"><figcaption></figcaption></figure>
8. You can either select to give access to all repositories or a few select repositories as required.<br>

   <figure><img src="/files/uilbLsnlDT8lAow4ZsqB" alt="" width="332"><figcaption></figcaption></figure>
9. Click '**Install & Authorize'**.
10. After authorization, you'll be redirected back to Hivel.


---

# 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.hivel.ai/integrations/scm/github/how-to-re-authorize-re-initiate-github-integration-with-repository-level-access.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.
