メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt

Use this file to discover all available pages before exploring further.

Setup Guide

Follow these steps to connect GitLab to your Connect AI account:
1
Open the Sources page of the Connect AI navigation menu.
2
Click + Add Connection in the upper-right corner.
3
Type GitLab into the search field, then click the data source name.
4
On the Basic Settings tab of the new connection, enter a connection name or keep the default name.
5
Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

To use OAuth authentication, you need to register an OAuth application with GitLab. You can register either a user-owned application or a group-owned application:
1
Open the Applications page in GitLab:
  • User-owned–select your avatar in the upper-right corner, click Edit profile, then select Applications from the left sidebar.
  • Group-owned–open the group, then in the left sidebar select Settings > Applications.
2
Click Add new application.
3
Complete the required fields:
  • Name–the name of your application.
  • Redirect URI–set this to https://oauth.cdata.com/oauth/.
  • Confidential–leave this checkbox selected.
  • Scopes–select the OAuth 2.0 scopes your integration needs (for example, api, read_user, read_api, read_repository).
4
Click Save application.
5
On the application page, make note of the Application ID and Secret. The Secret is only shown once, so copy it immediately. In Connect AI, the Application ID is entered as the OAuth Client Id and the Secret as the OAuth Client Secret.
In Connect AI:
1
Enter the OAuth Client Id and OAuth Client Secret obtained from GitLab.
2
Click Sign in to connect securely through OAuth. This action opens the GitLab sign-in page in a new tab.
3
Log in to your GitLab account and provide the requested permissions (if applicable).
4
Connect AI Add Connection ページ上部の、Save & Test をクリックします。
  • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。
  • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
  • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。