Chatting with Amazon Q Developer in AWS Chatbot - Amazon Q Developer

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 AmazonQFullAccess managed policy, and then add the policy as a channel guardrail.

  1. Add the AmazonQFullAccess managed policy to your IAM role:

    1. Sign in to the AWS Management Console and open the IAM console.

    2. In the navigation pane of the IAM console, choose Roles.

    3. Choose the name of the role that you want to modify.

    4. In Permissions policies, choose Add permissions and Attach policies.

    5. Enter AmazonQFullAccess in the search.

    6. Select AmazonQFullAccess.

    7. Choose Add permissions.

  2. Add the AmazonQFullAccess managed policy to your channel guardrails:

    1. Open the AWS Chatbot console.

    2. Choose a configured client.

    3. Select a configured channel.

    4. Choose Set guardrails.

    5. Enter AmazonQFullAccess in the search.

    6. Select AmazonQFullAccess.

    7. 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?