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 URL
tohttps://app.coolify.io
. - Set the
Setup URL
to the following:https://app.coolify.io/webhooks/source/github/install?source=<source_uuid>
wheresource_uuid
will be the newly created source in Coolify. - Activate
Webhook
and set theWebhook URL
tohttps://app.coolify.io/webhooks/source/github/events
- Set the
Webhook Secret
. - In the
Install App
section, Install the app to the organization you want to use. - Copy the
Installation ID
from the URL of the page after you installed the Github App. - In the
Permissions
section, 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 events
section, enable tho following events:- Push
- Pull Request (optional, if you want to use the pull request feature)
On Coolify
- Add the
Private Key
generated in the previous step as a newPrivate Key
in theKeys & Tokens
section. - Go to the
Sources
page and click on the+
button or edit the existing one. - Fill the name and the organization name (optional). Press
Continue
. - Click on the
Continue
button on theManual Installation
section. - Enter the
Github App Name
,App ID
,Installation ID
,Client ID
,Client Secret
,Webhook Secret
from the GitHub App configuration page. - Select the
Private Key
you added in step 0 andSave
. - If you filled everything correctly, click on the
Sync Name
button. If no errors, then you are done.