Are you an LLM? You can read better optimized documentation at /docs/knowledge-base/git/github/manually-setup-github-app.md for this page in Markdown format
Manually Setup GitHub App ​
This guide will show you how to manually setup an existing Github App or how to change a currently configured one.
Since 4.0.0-beta.399 you are able to change all the Github App details inside Coolify.
On Github ​
- Generate a Private Key on your Github App configuration page (if you already have one, ignore this).
- Set the
Homepage URLtohttps://app.coolify.io. - Set the
Setup URLto the following:https://app.coolify.io/webhooks/source/github/install?source=<source_uuid>wheresource_uuidwill be the newly created source in Coolify. - Activate
Webhookand set theWebhook URLtohttps://app.coolify.io/webhooks/source/github/events - Set the
Webhook Secret. - In the
Install Appsection, Install the app to the organization you want to use. - Copy the
Installation IDfrom the URL of the page after you installed the Github App. - In the
Permissionssection, set the following permissions: Repository permissions:- Contents: read
- Metadata: read
- Pull Request: read & write (optional, if you want to use the pull request feature) Account permissions:
- Email addresses: read
- In the
Subscribe to eventssection, enable tho following events:- Push
- Pull Request (optional, if you want to use the pull request feature)
On Coolify ​
- Add the
Private Keygenerated in the previous step as a newPrivate Keyin theKeys & Tokenssection. - Go to the
Sourcespage and click on the+button or edit the existing one. - Fill the name and the organization name (optional). Press
Continue. - Click on the
Continuebutton on theManual Installationsection. - Enter the
Github App Name,App ID,Installation ID,Client ID,Client Secret,Webhook Secretfrom the GitHub App configuration page. - Select the
Private Keyyou added in step 0 andSave. - If you filled everything correctly, click on the
Sync Namebutton. If no errors, then you are done.
