GitLab Duo Principles - Hands-On Lab: Getting Started with GitLab Duo
Estimated time to complete: 10 minutes
Objectives
GitLab Duo allows you to use AI-assisted features across GitLab. To get started with GitLab Duo, you will need to first generate a lab environment to work in. This lab environment will provide you with all the GitLab Duo features demonstrated in this course.
Task A. Working with GitLab Duo Chat
-
Navigate to your GitLab group.
-
Select Create new project.
-
Select Create blank project.
-
In the project name, type
Duo Demo. -
Leave all other options as default and select Create project.
-
From your project, click the GitLab Duo Chat button in the top right corner.
-
A new chat window will appear on the right side of the screen. Try asking some questions and see how the GitLab Duo responds!
Here are a few demo questions you can ask Duo:
How do I move an issue from one project to another?What is a merged results pipeline?What is an example of a simple Python function?
Task B. Using GitLab Duo Agentic Chat
GitLab Duo Agentic chat can perform tasks for you, such as moving issues or moving merge requests between projects. Let’s try it out!
-
If your Duo Chat is not currently open, click the GitLab Duo Chat button in the top right corner.
-
Select the Agentic Chat (Beta) option in the bottom right.
-
Let’s try making an issue. Type in something like,
Create an issue in this project that describes in detail how a team can implement a new security feature to improve their systems. -
The GitLab Agentic chat will ask you to Approve of the workflow item. Click Approve to continue the action.
-
Once the action is complete, you will see the issue created in your project. Refresh your Issues page to see the new issue.
Lab Guide Complete
You have completed this lab exercise. You can view the other lab guides for this course.
Suggestions?
If you wish to make a change to the lab, please submit your changes via Merge Request.
e90644fa)
