Getting started with GitLab Duo with Amazon Q
GitLab Duo with Amazon Q
brings artificial intelligence (AI) capabilities directly into your software development
operations and source code management workflows. You can get started with
GitLab Duo with Amazon Q using
a self-managed GitLab instance and an GitLab
Ultimate subscription that's synchronized with GitLab. You need to create an
Amazon Q Developer profile, add a connection with an OpenID Connect (OIDC) identity provider, and
create an IAM role to access Amazon Q from GitLab. For more information, see
Onboarding with AWS identity provider and IAM
role creation.
To learn how to create the required resources and set up GitLab Duo with Amazon Q, see
Set up GitLab Duo with
Amazon Q in the GitLab documentation.
At any time, you can configure the availability of GitLab Duo with Amazon Q by turning it on or off for
your instance, group, or project. For more information, see Turn
off GitLab Duo with Amazon Q.
Once you set up GitLab Duo with Amazon Q, you can begin using the AI capabilities of
Amazon Q in GitLab to transform your code to Java 17, review merge requests for quality and
vulnerabilities, and suggest unit tests. You can also use the GitLab Duo Chat feature that supports
Amazon Q to address developmental tasks, such as vulnerability explanation, troubleshoot failed
pipelines, and code refactoring.
Before you can invoke code transformation, you must have at least one
GitLab Runner available for your project
that must be customized. For more information, see
Customizing a CI/CD pipeline for code transformation. To learn more
about how to invoke quick actions in GitLab issues and merge requests, see GitLab Duo with Amazon Q.