Chatting with Amazon Q Developer in chat applications
You can chat with Amazon Q Developer in Microsoft Teams and Slack chat applications. In configured channels, Amazon Q can answer questions about best practices for building solutions, troubleshooting issues, and identifying next steps. The following Amazon Q chat features are available in configured chat applications:
For more information about the complete set of features available when you use Amazon Q in chat applications, see What is Amazon Q Developer in chat applications? in the Amazon Q Developer in chat applications Administrator Guide.
Note
When you use Amazon Q Developer in chat applications, access is limited to the Amazon Q Developer Free tier.
Enable Amazon Q chat in your channels
To add chat capabilities to a Microsoft Teams or Slack channel that is already configured with Amazon Q Developer, complete the following steps. To set up Amazon Q Developer in your chat applications for the first time and allow users to chat with Amazon Q, see Get started with Microsoft Teams and Get started with Slack in the Amazon Q Developer in chat applications Administrator Guide.
Before you can ask Amazon Q questions from a Microsoft Teams or Slack channel, you need to add Amazon Q to the channel. First, update your AWS Identity and Access Management (IAM) role settings to include the AmazonQDeveloperAccess managed policy, and then add the policy as a channel guardrail. If you need administrator access, add the AmazonQFullAccess policy instead.
-
Add the
AmazonQDeveloperAccess
managed policy to your IAM role:-
Sign in to the AWS Management Console and open the IAM console
. -
In the navigation pane of the IAM console, choose Roles.
-
Choose the name of the role that you want to modify.
-
In Permissions policies, choose Add permissions and Attach policies.
-
Enter
AmazonQDeveloperAccess
in the search. -
Select AmazonQDeveloperAccess.
-
Choose Add permissions.
-
-
Add the
AmazonQDeveloperAccess
managed policy to your channel guardrails:-
Choose a configured client.
-
Select a configured channel.
-
Choose Set guardrails.
-
Enter
AmazonQDeveloperAccess
in the search. -
Select AmazonQDeveloperAccess.
-
Choose Save.
Ask Amazon Q questions in your channel
To check that your configuration was successful, ask Amazon Q a question. Enter
@Amazon Q
followed by your question.
Following are some examples of questions that you can ask Amazon Q from your configured channel:
-
@Amazon Q how do I troubleshoot lambda concurrency issues?
-
@Amazon Q what are the best practices for securing S3 buckets?
-
@Amazon Q what is the maximum zipped file size for a lambda?
-
@Amazon Q get the configuration for my lambda function
name
? -
@Amazon Q what is the size of the auto scaling group
name
in us-east-2? -
@Amazon Q can you show ec2 instances running in us-east-1?