Specifications
| Specification | Details |
|---|---|
| Repository type | Cloud |
| Supported content | Issues |
| RACL support | Yes |
| Content filtering | No |
Authorization Support
Search AI interacts with GitLab via APIs and supports the following authentication methods:- OAuth 2.0
- Personal Access Token
Prerequisites
Sign in to your GitLab account and set up one of the following based on your chosen authorization type.Personal Access Token
- Go to your profile (top left) and click Edit Profile.
- Go to Access Tokens in the left navigation menu.
- Click Add new token.
- Select the
read_apiscope and create the token.
OAuth 2.0
- Go to the Applications page under your user profile.
- Create a new app for Search AI integration.
- Set one of the following as the redirect URL based on your region:
- JP Region:
https://jp-bots-idp.kore.ai/workflows/callback - DE Region:
https://de-bots-idp.kore.ai/workflows/callback - Prod:
https://idp.kore.com/workflows/callback
- JP Region:
- Select the
read_apiscope. - This generates an application ID and client secret. Use these credentials to generate an access token and refresh token via an API client tool such as Postman. Refer to the GitLab OAuth2 authorization code flow for details.
Configure the GitLab Connector in Search AI
- Navigate to the Connectors page and select GitLab.
-
Provide the following fields:
Field Description Name Unique name for the connector Authorization Type Personal Access Token (Private Token) or OAuth 2.0 Token / Client Credentials Personal Access Token, or client credentials and access tokens for OAuth 2.0 - Click Connect to sync content from GitLab.
RACL Support
All ingested content is associated with the GitLab project it belongs to. Thesys_racl field is set to the projectId for each piece of content. A permission entity is created for each project ID.
Use the Permission Entity APIs to associate users with the corresponding permission entity to grant access to that project’s content.