Getting started with GitLab Duo with Amazon Q - Amazon Q Developer

Getting started with GitLab Duo with Amazon Q

Note

GitLab Duo with Amazon Q is in preview release and is subject to change.

GitLab Duo with Amazon Q provides a suite of artificial intelligence (AI) experiences, such as proposed code implementation for your idea, iterate your code on feedback, transform your code to Java 17, review merge requests for deficiencies, and suggested unit tests for those issues. You can get started with a self-managed GitLab instance and an GitLab Ultimate subscription that's synchronized with GitLab. You also need to create an IAM identity provider and IAM role. For more information, see Identity providers and federation and Set up GitLab Duo with Amazon Q.

GitLab Duo with Amazon Q preview is available in the gitlab-duo-with-amazon-q-preview branch of the public GitLab repository. To learn more about GitLab's canonical source and collaborating on code, see the GitLab README.

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.

After saving your changes, an API contacts the AI Gateway to create an OAuth application on Amazon Q. Once you set up GitLab Duo with Amazon Q, you can begin using the AI capabilities of Amazon Q in GitLab issues, comments, and merge request comments. However, 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.