Connecting to GitLab
GitLab is a widely used DevOps platform that enables teams to manage source code, CI/CD pipelines, and project collaboration in a unified environment. Integrating IBM watsonx Orchestrate with GitLab allows seamless automation, secure authentication, and streamlined development workflows across your enterprise systems.
To integrate GitLab with IBM watsonx Orchestrate, you need to establish a secure connection that enables both systems to communicate seamlessly. For general guidance on managing integrations, refer to Connecting apps for prebuilt agents.
By default, Single sign-on (SSO) is disabled for your app. To enable it, refer to Configuring single sign-on for applications.
Steps to connect
Use the following steps to connect GitLab to watsonx Orchestrate:
Go to Manage > Connections and search for the corresponding GitLab Connection ID.
Click edit next to the matching connection ID.
Select OAuth2 Authorization Code as the authentication type.
Enter the GitLab‑specific fields described in the connection details section. See Connecting apps for prebuilt agents page for general connection workflow.
Complete the Draft and Live setup steps.
Save and test the connection to confirm successful connection.
Supported authentication methods
GitLab supports the following authentication type in watsonx Orchestrate:
OAuth2 Authorization Code (recommended for production use)
Connection ID
Use the following Connection ID when locating your GitLab connection in the Connections settings page. To understand how to search for a Connection ID and open a connection for editing, see Connecting apps for prebuilt agents.
Authentication type | Connection ID |
|---|---|
OAuth2 Authorization Code | `` |
OAuth 2.0 connection details
If your organization uses OAuth‑based authentication, set Authentication type to OAuth2 Authorization Code and enter the following fields:
Field | Description |
|---|---|
| The base URL of your GitLab instance |
| The URL where users are redirected to log in and authorize access |
| The endpoint used to exchange the authorization code for an access token |
| The client ID of your GitLab OAuth application |
| The client secret associated with your GitLab OAuth application |
You can obtain these values by creating an OAuth application in GitLab. Refer to the GitLab API documentation for more details.