Using Amazon Q Developer with Amazon SageMaker Studio - Amazon Q Developer

Using Amazon Q Developer with Amazon SageMaker Studio

You can chat with Amazon Q inside Amazon SageMaker Studio. You can also make code recommendations automatically as you write your code.

To set up and activate Amazon Q for Amazon SageMaker Studio, see Set up Amazon Q Developer for your users in the Amazon SageMaker User Guide.

To use Amazon Q Developer with Amazon SageMaker Studio, you must Add the Amazon Q-related permissions to your SageMaker execution role.

Create an IAM policy containing the following statement. Then attach that policy to the execution role (IAM) or permission set (IAM Identity Center) associated with your user profile.

Note

The codewhisperer prefix is a legacy name from a service that merged with Amazon Q Developer. For more information, see Amazon Q Developer rename - Summary of changes.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "AmazonQDeveloperPermissions", "Effect": "Allow", "Action": ["codewhisperer:GenerateRecommendations"], "Resource": "*" } ] }

For more information about policies, see Creating IAM policies and Adding and removing IAM identity permissions in the IAM User Guide.