AI Assistant
Help Center AI Assistant is now available
Got questions about Lark? Use our AI chat to find the answers.
00:00
Click and hold to drag
Got It
Try Now

Use the GitLab connector

2 min read
I. Intro
🔖
Availability: BotBuilder is only available in select countries and regions. For inquiries, please contact Support.
GitLab is a Git-based code management tool platform that provides code management, collaboration, continuous integration/continuous delivery, and automation functions to help teams with software development.
You can use the GitLab connector in BotBuilder as a trigger step in flows to connect Lark to your GitLab account, which allows you to receive messages on updates to relevant projects from GitLab in Lark in real time, including new comment notifications, changes in the status of issues, and merge request notifications.
II. Prerequisites
Find your GitLab Application ID and Secret, which will be used later for app authorization in the flow.
  1. Log in to your GitLab account, click your profile photo > Preferences, and select Applications on the left sidebar to go to the settings page.
  1. Under Name, Enter Lark BotBuilder as shown in the example below.
  1. Under the options for Scopes, select api and read_user.
250px|700px|reset
  1. Once you click Save application, you will automatically be redirected to the account information page. Copy the Application ID and Secret on the page.
250px|700px|reset
III. Steps
  1. Open BotBuilder, click Create Bot App, and configure the app's name, description, and icon.
250px|700px|reset
250px|700px|reset
  1. Click Flow Design and then click Create > Select a trigger.
250px|700px|reset
250px|700px|reset
  1. Select When a new commit is created as the trigger. Under Account, select Add Account to go to the GitLab authorization page.
250px|700px|reset
  1. Enter your GitLab domain, and the Application ID and Secret you copied earlier, then click OK.
250px|700px|reset
  1. You will be redirected to the GitLab page. Click Authorize when prompted. After the authorization is completed, you will be automatically redirected to the bot app flow. After selecting the account, you can configure the trigger conditions as needed.
250px|700px|reset
IV. FAQs
Are there set egress IP addresses for the "GitLab" step?
Yes. The egress IPs are 220.243.131.172 and 220.243.131.173. If your network has security limits on inbound traffic, you can add these IPs to the allowlist.
Do I need to use a public network to access GitLab?
Yes.
Written by: Lark Help Center
Updated on 2024-12-11
How satisfied are you with this content?
Thank you for your feedback!
Need more help? Please contact Support.
rangeDom
rangeDom
rangeDom