Using the QuickSight plugin to get insights from structured data
Note
The QuickSight plugin feature is in preview and is subject to change.
The QuickSight plugin is a fully integrated plugin that gives an Amazon Q Business application access to insights and external databases through Amazon QuickSight. QuickSight is a business intelligence service that provides insights from your structured data, such as databases, data lakes, and data warehouses.
With the QuickSight plugin for Amazon Q Business, end users can get answers from this structured data directly in an Amazon Q Business application. You don't have to index or reformat this structured data, and you don't need to migrate it to Amazon Q Business.
For example, an end user might ask "What was the revenue per month for my business for 2023?" in their Amazon Q Business chat application. They would get answers based on your unstructured data in Amazon Q Business and, below this response, QuickSight answers based on structured data.
The response from QuickSight can include a multi-visual answer that includes an AI-generated narrative that summarizes key insights, and supporting visuals and interactive graphs to add context. If these visuals don't exist already, QuickSight can generate them on the fly based on the user's question and the available data in QuickSight and external databases.
To enable the plugin, you use Amazon Q Business to link your Amazon QuickSight account with your application and grant it permission to communicate with Amazon QuickSight. If you use the console, you can create the QuickSight account in Amazon Q Business. If you already have a QuickSight account, you can enable the plugin with the console or the CreatePlugin API operation.
After you create resources in QuickSight (including datasets, topics, and, optionally, dashboards), end users automatically start getting insights based on your structured data.
Important
The QuickSight plugin is fully integrated with Amazon Q Business, and won't appear in the list of plugins in the web experience. For every user prompt, it automatically queries Amazon QuickSight. For information about pausing the plugin, see Pausing integration with QuickSight.
Topics
Pricing
When you set up the integration with QuickSight, you assign one or more IAM Identity Center groups the QuickSight Admin Pro role. This role grants users access to all Generative BI capabilities in Amazon QuickSight. Your QuickSight administrator is responsible for adding and managing user permissions and configuring your QuickSight account.
The QuickSight Admin Pro role incurs additional costs. For more information about pricing, see Amazon QuickSight pricing
When you link a QuickSight account and an Amazon Q Business application, the following groups get Pro subscription benefits at no additional cost:
-
QuickSight Admin Pro groups are added to the Amazon Q Business Pro subscription.
-
Existing Amazon Q Business Pro groups are assigned the QuickSight Reader Pro role.
Guidelines and requirements
-
You must use IAM Identity Center for authentication for both QuickSight and Amazon Q Business. If your Amazon Q Business application doesn't use IAM Identity Center, you must create a new one that does. For information about creating an IAM Identity Center integrated application, see Configuring an Amazon Q Business application using AWS IAM Identity Center.
-
Your Amazon Q Business application and Amazon QuickSight account must be in the same AWS Region.
-
If you don't have a QuickSight account, you can create the account from the Amazon Q Business console when you configure your application to communicate with QuickSight.
-
You must authorize Amazon Q Business to communicate with Amazon QuickSight with a service role. For more information, see Service access role.
-
The IAM role for your Amazon Q Business web experience must have
quicksight:GenerateEmbedUrlForRegisteredUserWithIdentity
permissions. For a policy example, see IAM role for an Amazon Q Business web experience using IAM Identity Center.
Service access role
When you link your QuickSight account in the Amazon Q Business console, you specify an AWS Identity and Access Management (IAM) role that authorizes Amazon Q Business to communicate with Amazon QuickSight. In the console, you can choose to create this role with the correct permissions automatically configured. Or you can manually create it.
-
The role's permissions policy must grant
quicksight:PredictQAResults
for Amazon QuickSight topics and, if you create them, dashboards. For a permissions policy example, see AWS managed policy: QBusinessQuicksightPluginPolicy. -
The role's trust policy must grant Amazon Q Business
AssumeRole
andSetContext
permissions as follows.{ "Version": "2012-10-17", "Statement": [ { "Sid": "QBusinessQuicksightManagedPolicyTrustPolicy", "Effect": "Allow", "Principal": { "Service": "qbusiness.amazonaws.com" }, "Action": ["sts:AssumeRole", "sts:SetContext"], "Condition": { "StringEquals": { "aws:SourceAccount": "
source_account
" }, "ArnLike": { "aws:SourceArn": "arn:aws:qbusiness:region
:source_account
:application/application_id
" } } } ] }