Often when developing, I need to know who’s checking in what code and what changes are being made. At Axway, we use Microsoft Teams for communication and GitLab to store code in a repository.

How to link GitLab and Microsoft Teams

I wanted to combine these two things, so I get notified whenever changes are being made to our codebase. It’s an easy set up so here is how I did it.

Open GitLab in a browser

  1. Open Repo
  2. Go to Settings > IntegrationsOpening GitLab in a browser to connect it with Microsoft Teams
  3. Scroll down to Project Services and find “Microsoft Teams Notification.”
    Configuring GitLab to link with Microsoft Teams via a connector
  4. Now switch over to teams. Leave the Gitlab window open in your browser.

Next, open Teams

  1. Create or find your Teams.
  2. Next to the team name look for the “…” and click on it.Opening Microsoft Teams to configure the GitLab connector
  3. Select Connectors under the … menu.
  4. Search for “Incoming Webhooks” and click the “Add” button.Adding the GitLab connector in Microsoft Teams
  5. Scroll to the bottom and click that “Add” Button.
  6. Give it a name and add an image then click “Create.”Configuring the incoming webhook connector in Microsoft Teams
  7. Scroll down to the URL field and copy it. Then, navigate back to GitLab and paste it into the Webhook field.

Back to GitLab

  1. Past the URL you just copied in the Webhook field and select all the checkboxes you wish to receive notification for.Returning to GitLab to complete the Microsoft Teams integration
  2. Select the “Activate” checkbox.
  3. Save Changes

That’s it! You now should see messages when you check in or change files.

 

Pasting the Teams webhook URL into GitLab to finish the connector setup

Learn 5 reasons why Amplify Enterprise Marketplace is the developer’s dream API portal.