GitLab
GitLab is a web-based DevOps lifecycle platform designed for source code management (SCM), continuous integration and deployment (CI/CD), and project collaboration. It provides a robust set of tools for version control, issue tracking, code review, security testing, and automation, making it an essential platform for developers and IT teams. GitLab integrates seamlessly with various tools to streamline workflows and improve development efficiency.
How to Integrate GitLab with ZBrain Flow
Integration Steps
Initiate GitLab Integration
Click the β+β button in ZBrain Flow to add a new integration.
Search for GitLab
In the search bar, type βGitLabβ and select it from the available integrations.
Choose an Action
Select an action (e.g., Create Issue or Custom API Call) to begin the setup.
How to Create a GitLab Connection in ZBrain Flow
Before using GitLab actions in ZBrain Flow, you need to establish a secure connection between GitLab and ZBrain Flow.
Connection Establishment Steps
Enter a Connection Name
Provide a unique name to identify the GitLab connection in ZBrain Flow.
Click 'Connect'
Start the authentication process to establish a link between GitLab and ZBrain Flow.
Log in to GitLab
A pop-up window will appear, prompting you to log in to your GitLab account.
Enter your credentials and proceed with authentication.
Grant Permissions
Approve the necessary OAuth permissions to allow ZBrain Flow to access GitLab.
Permissions may include repository access, issue tracking, and project data retrieval.
Save the Connection
Click βSaveβ to complete the setup.
Actions Available in ZBrain Flow
1. Create Issue
Creates a new issue in a selected GitLab project.
Configuration Steps:
Select an existing GitLab connection or create a new one.
Select the GitLab project where the issue should be created.
Enter the title of the issue.
Enter a detailed description of the issue.
2. Custom API Call
Enables users to send custom API requests to GitLab for advanced operations beyond predefined actions.
Configuration Steps:
Select an Existing Connection or Create a New One
Choose a previously created GitLab connection or set up a new one.
Enter the API Endpoint URL
Use a full URL or relative path to the GitLab API base URL.
Example:
https://gitlab.com/api/v4/projects/{project_id}/issues
Select the HTTP Method
Choose the appropriate request type:
GET β Retrieve issue details, repository information, or user data.
POST β Create new issues, comments, or repository events.
PATCH β Modify issue metadata, repository settings, or labels.
PUT β Update existing records.
DELETE β Remove issues, comments, or repositories.
HEAD β Fetch response headers without retrieving actual data.
Add Headers
Define any additional headers required for the API request.
Authorization headers are automatically injected.
Click β+ Add Itemβ to include more headers.
Add Query Parameters
Customize API requests with query parameters to filter results or specify additional options.
Click β+ Add Itemβ to add more parameters.
Enter JSON Body
Provide structured request data in JSON format.
Example:
Set Timeout (in Seconds)
Define the request timeout duration to prevent long-running API calls from stalling the process.
Note: Click 'f' to insert dynamic values for flexible configurations.
Last updated