You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide walks you through setting up a GitHub App to enable GitHub integration for your Plane workspace on a self-hosted instance. Since self-hosted environments don’t come pre-configured for GitHub, you’ll need to set up the necessary authentication, permissions, and webhooks to ensure smooth integration.
Self-hosted GitHub instances for organizations with specific compliance or security requirements
20
+
10
21
In this guide, you’ll:
11
22
12
23
1.[Create and configure a GitHub App](/self-hosting/govern/integrations/github#create-github-app)
13
24
2.[Set up permissions and events](/self-hosting/govern/integrations/github#set-up-permissions-and-events)
14
25
3.[Configure your Plane instance](/self-hosting/govern/integrations/github#configure-plane-instance)
15
26
16
-
:::warning
27
+
:::warning[IMPORTANT]
17
28
**Activate GitHub integration**
18
29
19
30
After creating and configuring the GitHub app and configuring the instance as detailed on this page, you'll need to [setup the GitHub integration](https://docs.plane.so/integrations/github) within Plane.
20
31
:::
21
32
22
33
## Create GitHub App
23
34
24
-
To configure GitHub integration, you'll need to create a GitHub App within your organization. Follow these steps:
35
+
To configure GitHub integration, you'll need to create a GitHub App within your organization.
25
36
26
-
1. Go to **Settings \> Developer Settings \> GitHub Apps** in your GitHub organization.
6. Retrieve the following details from the **General** tab:
253
+
- App ID
254
+
- App Slug (You can find this in browser url)
255
+
- Client ID
256
+
- Client secret
257
+
- Private key
258
+
259
+
7. Convert the Private key to convert it to base64. Since private keys are typically multi-line, they can cause parsing errors or issues when setting environment variables. To avoid this, run the following command to convert the key to base64:
260
+
```bash
261
+
cat private_key.pem | base64 -w 0
262
+
```
263
+
264
+
8. Once you've created the app, [activate the GitHub Enterprise integration in Plane](https://docs.plane.so/integrations/github#connect-github-enterprise-organization).
0 commit comments