autobotAI

GitLab

Overview

The GitLab integration allows autobotAI to connect with your GitLab repositories for version control and collaboration. This integration facilitates automation of workflows, such as CI/CD processes, issue tracking, and merge request management, optimizing your development lifecycle.

This guide provides instructions for setting up GitLab integration in your autobotAI account.By completing this process, you will connect your GitLab account and its associated resources to the platform.

Prerequisites

Before starting, ensure you have:

  • A GitLab account with access to the repositories you want to connect.
  • A GitLab token with the necessary permissions for your desired functionality.

Follow the instructions in the Additional Information section below to retrieve these if needed.

Steps to Set Up GitLab Integration

Step 1:
Navigate to the Integrations page by selecting Integrations in the menu. Click the + Add Integration button in the top-right corner to view available integrations. add integration
Step 2:
From the list, under Code Repository, select GitLab + Add to create the GitLab integration. select_integartion

Step 3:
Fill in the required fields as follows:

Note: Fields marked with an asterisk (*) are mandatory.

  • Alias: Provide a meaningful name or alias for this integration.
  • Tag(Optional): Choose a tag to help organize the integration.
  • GitLab Base URL: Enter your GitLab base URL.
  • GitLab Token: Provide your GitLab personal access token. gitlab_details

Double-check the information, then click Create to complete the integration.

Step 4:
After creating the integration, locate it under Integrations. Click on the three dots next to it, select Test, and ensure your integration is configured correctly with autobotAI. validation

Additional Information

How to Retrieve GitLab Token

To generate a GitLab Token, follow these steps:

  1. Log in to GitLab:
    Go to GitLab and sign in with your GitLab credentials. gitlab
  2. Access Personal Access Tokens:

    • Click on your profile in the top-right corner and go to Preferences
    • Under Access Tokens, open the dropdown and click Personal Access Tokens gitlab

    Method 1: Fine-grained Personal Access Token (API + MCP)

    • Click Generate Token and select Fine-grained Token gitlab
    • Fill in the required details gitlab
    • Under Add Resource Permissions, configure the required permissions for the API scopes and MCP server scopes gitlab gitlab
    • click Generate new token and copy token. gitlab

    Method 2: Legacy Personal Access Token (API Only)

    • Click Generate Token and select Legacy Token. gitlab
    • Fill in the required details and select the required API scopes.
    • Click Generate Token and copy the generated token.

Once you have the token, paste it into the GitLab Token field on the autobotAI platform to complete the integration.