GitLab Self-Managed
PullRequest.comDashboard
  • Introduction
  • Create PullRequest Account & Organization
  • Installing the PullRequest Proxy
  • Managing the PullRequest Proxy
  • Production Setup
  • Connecting your Proxy with PullRequest
  • Configure GitLab Posting User
  • Configure GitLab Webhooks
  • Verify Data on PullRequest
  • Project Visibility in the PullRequest Dashboard
Powered by GitBook
On this page
  • Prerequisites
  • Creating & Adding the GitLab User
  • Add Root URL
  • Create Posting User
  • Add Posting User to Projects
  • Create GitLab Access Token
  • Add Posting User to Proxy
  • Add Personal Access Token to Proxy
  • Verify Connection

Was this helpful?

Configure GitLab Posting User

Code reviews for your GitLab Self-Managed projects will be posted as a "PullRequest" member of your GitLab team. In order to post code reviews, the user must be created in your GitLab.

PreviousConnecting your Proxy with PullRequestNextConfigure GitLab Webhooks

Last updated 6 years ago

Was this helpful?

Prerequisites

The GitLab posting user must be created by an individual on your team with the following administrative permissions:

Creating & Adding the GitLab User

Log into the PullRequest Proxy and click the Configure GitLab button on the home page.

Add Root URL

Paste the root URL of your GitLab Self-Managed instance (this will be whatever domain your team usually uses to access GitLab). Example:

https://our-gitlab.internal

Create Posting User

Log in to your GitLab instance as an administrator and create a new user with the username PullRequest. PullRequest reviewers and systems will use this user to post code review content.

Add Posting User to Projects

Add the PullRequest user to all of the projects/repositories you want code review on. Be sure to grant the user REPORTER access so it's able to post comments.

Create GitLab Access Token

Log into GitLab as the PullRequest user you just created.

This may be easier in another browser or in an incognito tab so you can remain logged in as the GitLab owner user.

Open User settings -> Access Tokens. This should be accessible from the following path:

https://our-gitlab.internal/profile/personal_access_tokens

Create a Personal Access Token with the following properties:

Once generated, copy the personal access token to your clipboard and go back to the PullRequest Proxy UI with the GitLab Settings modal open.

Add Posting User to Proxy

Enter PullRequest as the PullRequest Username (or whatever name was used in GitLab).

Make sure the PullRequest Username is spelled exactly as the username of the PullRequest user that was created. We highly recommend "PullRequest" (all one word, PascalCase) to maintain communication consistency.

Add Personal Access Token to Proxy

Paste the Personal Access Token into the modal and click Update.

Verify Connection

Open the Repositories tab in the left sidebar. The repositories the PullRequest GitLab user were added to should appear in a list here.

PullRequest will never write or modify code in your repositories. Read more about how we keep your code and data secure .

here
Creating a personal access token in GitLab