

# Getting started with GitLab Duo with Amazon Q
Getting started

[GitLab Duo with Amazon Q](https://docs.gitlab.com/ee/user/duo_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](https://docs.gitlab.com/ee/user/duo_amazon_q/) using a self-managed GitLab instance and an [GitLab Ultimate subscription](https://about.gitlab.com/pricing/ultimate/) 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 resources and permission policies](gitlab-concepts.md#gitlab-concepts-onboarding). To learn how to create the required resources and set up GitLab Duo with Amazon Q, see [Set up GitLab Duo with Amazon Q](https://docs.gitlab.com/ee/user/duo_amazon_q/setup.html) 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](https://docs.gitlab.com/ee/user/duo_amazon_q/setup.html#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 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.

To learn more about how to invoke quick actions in GitLab issues and merge requests, see [GitLab Duo with Amazon Q](https://docs.gitlab.com/ee/user/duo_amazon_q/).