dosubot[bot] commented on issue #7610:
URL: 
https://github.com/apache/incubator-devlake/issues/7610#issuecomment-2161985406

   <!-- Greeting -->
   Hey @kamiyariko! 👋 I'm here to help you with any bugs or questions you have. 
I'm a bot that can assist with solving issues and providing information.
   
   <!-- Answer -->
   You should use the "TestConnection" API to attach the GitLab connection to 
the DevLake project. Here are the steps:
   
   1. **Test the GitLab Connection**: Use the following API to test the 
connection:
       ```
       POST /plugins/gitlab/test
       ```
   
   2. **Add the GitLab Connection to the Project**: After creating a project, 
you can add a previously configured GitLab connection to the project and select 
the boards for which you wish to collect the data.
   
   For more detailed steps:
   1. **Add Data Connections**: On the Connections page, select GitLab and 
create a new connection.
   2. **Authentication**: Provide a unique connection name, select GitLab Cloud 
or Server, enter the endpoint URL, and provide your GitLab personal access 
token.
   3. **Test and Save Connection**: Click `Test Connection`, and if successful, 
click `Save Connection` to add the connection.
   4. **Add Data Scopes**: Select the GitLab repositories you want to collect 
data from.
   5. **Create a Project**: Visit the Project page and create a new project.
   6. **Add a GitLab Connection**: Add the previously configured GitLab 
connection to the project and select the boards for data collection.
   7. **Set the Sync Policy**: Configure the data time range, sync frequency, 
and skip failed tasks options.
   8. **Start Data Collection**: Click on "Collect Data" to start collecting 
data for the project 
<sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.17/Configuration/GitLab.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.16/Configuration/GitLab.md)</sup><sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.19/Configuration/GitLab.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/gitlab/api/connection_api.go)</sup><sup>[[5]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/Configuration/GitLab.md)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to