

# Permissions for the AMAZON.QnAIntent
<a name="qna-permissions"></a>

To access this feature on Amazon Lex V2 console, ensure your console role has `bedrock:ListFoundationModels` and `bedrock:ListInferenceProfiles` permissions.

The IAM role associated with the bot should have the following permissions required for `AMAZON.QnAIntent`. The bot role should have permissions for calling `bedrock:InvokeModel`. You should also attach a statement for each data stores that you specify in your bots' `AMAZON.QnAIntent` (see the `Permissions to access Amazon Kendra index`, `Permissions to access OpenSearch Service index`, and `Permissions to access knowledge base in Amazon Bedrock` statements in the policy below). When you enable the feature with the Amazon Lex console, the policies will automatically get added to the bot role provided your bot is using a service-linked role generated by Amazon Lex.