> ## Documentation Index
> Fetch the complete documentation index at: https://docs.p2hs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Connect GitHub to import, mirror, and continue developing P2HS projects.

GitHub integration supports project source workflows and authenticated webhook reconciliation. The exact operations available depend on the configured installation, repository permissions, and project source authority.

## Safe operating model

* grant only the repository permissions required by the integration;
* review the repository and branch before importing or mirroring;
* treat webhooks as authenticated events and verify their signatures;
* keep deployment and provider secrets in P2HS configuration, not committed files;
* review generated changes before production deployment.

For a first project, start with [Import an existing project](/content/getting-started/import-an-existing-project).

For repository access or synchronization problems, see [GitHub troubleshooting](/content/support/troubleshooting/github).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.