01

Open GitLab using Public IP of your instance. Then login using username as root and password as your instance id.

02

Now, Click on this icon to access admin panel.

Your projects
03

Click on Applications.

Applications
04

Next, Go over to Mattermost and press edit button.

New application
05

Now, replace the old ip with public ip of your instance and click submit.

Edit application
06

Copy the Application ID and Secret in a text file as we will need these details further in our setup. Remember to paste it in the text file as there may be blankspaces with it.

Copy the Application ID and Secret
07

Go over to your AWS console and select EC2 and login into your Gitlab Instance. If you don't know how you can look at our Gitlab help page. URL:loginhelpinstance

08

Enter these commands in cli:

  • sudo su
  • nano /etc/gitlab/gitlab.rb
  • Press ctrl+w and type mattermost['gitlab_id']
  • Now, edit and paste the mattermost['gitlab_id'] and mattermost['gitlab_secret'] that you had copied earlier in step 6.
  • Press ctrl+x and then type y and press enter.
  • Next, type gitlab-ctl reconfigure
09

Now, you can close your terminal and enter public ip of your instance with port 9000, so your url will look something like this http://xx.xx.xx.xx:9000.

10

You will then see a login page, click on Sign In with Gitlab.

Github sign in
11

Next, click on Authorize.

Authorization request
12

Now, You can select the default team or create your own team. Now, you can use mattermost with gitlab.

 

Looking Forward to Have More Insights into Our Expertise?

CONTACT US