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
Copy file name to clipboardExpand all lines: self-hosting/govern/integrations/gitlab.mdx
+82-4Lines changed: 82 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,29 @@ sidebarTitle: GitLab
5
5
6
6
This guide walks you through setting up a GitLab application to enable GitLab integration for your Plane workspace on a self-hosted instance. Since self-hosted environments don’t come pre-configured for GitLab, you’ll need to create an application, configure authentication, and set the necessary permissions to ensure seamless integration.
Self-hosted GitLab instances for organizations with specific compliance or security requirements
15
+
8
16
In this guide, you’ll:
9
17
10
-
1.[Create and configure a GitLab Application](/self-hosting/govern/integrations/gitlab#create-a-gitlab-application)
18
+
1.[Create and configure a GitLab Application](/self-hosting/govern/integrations/gitlab#create-gitlab-application)
11
19
2.[Configure your Plane instance](/self-hosting/govern/integrations/gitlab#configure-plane-instance)
12
20
21
+
<Warning>
22
+
**Activate GitLab integration**
23
+
24
+
After creating and configuring the GitLab application and configuring the instance as detailed on this page, you'll need to [setup the GitLab integration](https://docs.plane.so/integrations/gitlab) within Plane.
25
+
</Warning>
26
+
13
27
## Create GitLab Application
14
28
29
+
<Tabs>
30
+
<Tabtitle="GitLab Cloud">
15
31
1. On the left sidebar in GitLab, select your avatar.
|`read_api`|Allows read-only access to all groups, projects, container registry, and package registry.|
40
56
|`read_user`|Grants read-only access to user profiles via the /user API endpoint, including username, public email, and full name. Also provides access to /users endpoints.|
41
57
|`read_repository`|Enables read-only access to repositories in private projects via Git-over-HTTP or the Repository Files API.|
42
-
|`write_repository`|Allows read/write access to repositories on private projects via Git-over-HTTP (not through the API).|
43
58
|`profile`|Grants read-only access to the user's profile data using OpenID Connect.|
44
59
|`email`|Provides read-only access to the user's primary email address using OpenID Connect.|
45
60
46
61
9. Click **Save Application** to finalize the setup.
62
+
</Tab>
63
+
64
+
<Tabtitle="GitLab Self-managed">
65
+
1. Log in to your GitLab instance.
66
+
2. Click on your profile icon in the top-right corner.
67
+
3. From the dropdown menu that appears, select **Edit profile**.
68
+
4. Look for and select the **Applications** option within this menu.
4. Once you've completed the instance configuration, [activate the GitLab integration in Plane](https://docs.plane.so/integrations/gitlab).
128
+
4. Once you've completed the instance configuration, [activate the GitLab integration in Plane](https://docs.plane.so/integrations/gitlab?edition=gitlab-cloud).
129
+
130
+
</Tab>
131
+
132
+
<Tabtitle="GitLab Self-managed">
133
+
134
+
1. Copy the **Application ID** and **Secret** from the newly created application.
2. Once you've created the application, [activate the GitLab Self-managed integration in Plane](https://docs.plane.so/integrations/gitlab?edition=gitlab-self-managed).
0 commit comments