Chatting with Amazon Q Developer in AWS Chatbot
You can chat with Amazon Q Developer in Microsoft Teams and Slack messaging platforms that are configured with AWS Chatbot. Amazon Q in AWS Chatbot can answer questions about best practices for building solutions, troubleshooting issues, and identifying next steps.
To add Amazon Q to a Microsoft Teams or Slack channel that is already configured with AWS Chatbot, complete the following steps. To set up AWS Chatbot in your channels for the first time and allow users to use Amazon Q, see Get started with Microsoft Teams and Get started with Slack in the AWS Chatbot Administrator Guide.
Add Amazon Q to a chat channel
You can add Amazon Q to a Microsoft Teams or Slack channel that is already configured with AWS Chatbot. 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:-
Open the AWS Chatbot console
. -
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
@aws
followed by your question. For example, you can enter @aws
what is fargate?
Following are some examples of questions that you can ask Amazon Q from your configured channel:
-
@aws how do I troubleshoot lambda concurrency issues?
-
@aws what are the best practices for securing S3 buckets?
-
@aws what is the maximum zipped file size for a lambda?