This article introduces how to connect your Gitlab instance to Pmbot via a Git provider.
In this article, we will assume that you already have a Pmbot installation up and running. We wrote a blog post on how to install Pmbot that you can find here. We'll also assume that you already have a Gitlab instance up and running.
Connect Pmbot to Gitlab
You'll want to create a Git provider to connect your Gitlab instance to Pmbot. In the setup wizard, we'll select Gitlab as a Git provider.
Now, we give our Git provider a name and fill in the URL. Then, we register Pmbot as an OAuth application in Gitlab according to the instructions given in the OAuth configuration section in the Pmbot UI. Finally, we fill in the client ID and client secret.
Then, we'll run the test to make sure the connect works:
Finally, we'll click the "Add git provider" button, and we're done !