> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/resource-integrations/github.md).

# GitHub

This page documents how to install P0 to a GitHub organization, allowing you to use P0 to manage access to teams within that organization. Users can request temporary access to a team, and P0 will automatically manage adding users to that team, and removing users when their access expires.

### Prerequisites

* GitHub organization with Enterprise licensing.
* Permission to install GitHub apps to that organization.
* Your users' primary email domain must be [verified in GitHub](https://docs.github.com/en/organizations/managing-organization-settings/verifying-or-approving-a-domain-for-your-organization).

### Set up the GitHub integration

{% hint style="info" %}
Currently, P0 can only be installed to a single GitHub organization at a time.
{% endhint %}

1. Open the P0 dashboard at [p0.app](https://p0.app) and log in to your org.
2. In the sidebar, click **Integrations**. Under **Resources**, click **GitHub**.
3. Click the **Install integration** button. You will be redirected to GitHub's website.
4. On the selector page, select the GitHub organization to install P0 in.
   1. You must select an organization. Selecting a user will result in an error.
5. Review the permissions required by the P0 GitHub app and select **Install**.
   1. GitHub may require you to authenticate to authorize the installation
6. After a moment, you will be redirected back to the P0 dashboard and shown a "Finish installation" page.
7. Click **Finish install** to save the configuration.

{% hint style="success" %}
Congratulations! You have successfully set-up GitHub for P0. You can return to the GitHub integration page at any time to change the integration configuration.
{% endhint %}
