L O N D O N A P R 2 7 , 2 0 2 2
BI-02
Enhance your apps with Amazon
QuickSight embedded analytics
Roy Yung (he/him)
QuickSight Specialist SA
Amazon Web Services
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Why Embedded Analytics?
• Embedded Analytics use cases
• Why using Amazon QuickSight for Embedded Analytics?
• Amazon QuickSight Embedding types & Demo
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why embedded analytics?
Embedded Analytics
Traditional Dashboard
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why embedded analytics?
• Interactive analytics in user workflows
• Increase user engagement
• Enrich core product offering
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Three Embedded Analytics use cases
Public
Public users access any public site (such as a university website)
and access any data/analytics on the site
Enterprise
Internal employees access internal portals, like wikis, via SSO
and view/interact with data/analytics in the portal
Enterprise / SaaS
External users access a secure business application and
view/interact with data/analytics in the application
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why not build Embedded Analytics together with application?
Expensive Time-consuming Resource planning
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon QuickSight
A cloud native BI solution with Embedding and ML functionality
Auto Scaling Pay as you go Machine Learning
& Serverless
Deploy globally to Pay only for what Built-in Anomaly
100k’s of users without you use Detection and Forecasting
provisioning servers
$5/month max for Bring your own model
Built-in High Availability Readers from Amazon SageMaker
Ask questions using
natural language
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Embedding Types
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1. Anonymous Embedding
• No need to provision user
• Auto scaling
Use case #1
• Public Embedding Dashboard
• Dashboards in apps, wikis, and websites
for end users
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Anonymous Embedding workflow
Application server invokes API call
End user sees application Application server embeds
(GenerateEmbedUrlForAnonymousUser)
5 page load with embedded 4 signed dashboard URL in 3
to obtain embedded dashboard
Amazon QuickSight application using Amazon
URL
dashboard QuickSight JavaScript SDK
Amazon
QuickSight
Application server
End user accesses Application client
1 business application on 2 requests page with
browser embedded dashboard
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo – Anonymous Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Anonymous Embedding
Use case #2
• BUs/SaaS has a web application serving different customers
• Provides embedded dashboard for customer to access their own data
Tag-based row-level security
• You can use row-level security (RLS) with tags
• Use tags to specify which data your users can see in the dashboard
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Anonymous Embedding workflow - Tag-based RLS
API toEndGenerate Embed URL For Anonymous
user sees application User
Application server embeds
Application server invokes API call
(GenerateEmbedUrlForAnonymousUser)
5 page load with embedded 4 signed dashboard URL in 3
with the QuickSight dashboard ID
Session-tags Amazon QuickSight
dashboard
application using Amazon
QuickSight JavaScript SDK
and session tags to obtain
embedded analytics URL
• {Key: tagCountry, Value: United Kingdom},
• {Key: tagRetailer, Value: RetailerABC}
Amazon
QuickSight
Application server
End user accesses Application client
1 business application on 2 requests page with
browser embedded dashboard
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo – Anonymous Embedding with
Tag-Based RLS
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2. User-based Embedding
• Dashboards in apps with authenticated users
• Mange users in QuickSight or SSO
• Personalize views of data for users using row-level and column-level security
Use case #1
• Enterprise Embedding Dashboard for business user
• Dashboards embedded in internal wiki, ERP, CRM
• SSO for seamless user experience
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
User-based Embedding workflow - SSO
End user sees application Application server embeds Application server invokes API
(GenerateEmbedUrlForRegisteredUser)
6
API: GenerateEmbedUrlForRegisteredUser
page load with embedded
Amazon QuickSight
5 signed dashboard URL in
application using Amazon
4
call to obtain embedded dashboard
dashboard QuickSight JavaScript SDK URL for specific user
Amazon
QuickSight
Application server
End user accesses Application client
1 application on web 2 Application server confirms
requests page with
or mobile client
3 end-user identity from
embedded dashboard
identity store
IDP – Identity Provider
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo – User-based Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2. 1-Click Embedding
Use case #2
• Dashboard built by non-technical business users
• Share dashboard by
• Embed dashboard in internal application such as wiki, sharepoint by 1-Click
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2. 1-Click Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2. 1-Click Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3. Author Embedding
• Dashboard creation and sharing capability for power users
• Create datasets for your users
Use case #1
• Enterprise Regional Data team to empower Country Data
team/Data Analyst to create dashboard and share with wider
audience
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Author Embedding workflow
• Workflow and API is same as User-based embedding
• Use the same QuickSight API
GenerateEmbedUrlForRegisteredUser
In User-based embedding, use argument
--experience-configuration Dashboard
In Author Embedding, use argument
--experience-configuration QuickSightConsole
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo – Author Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3. Author Embedding for Multitenancy
Use case #2
• Enterprise/SaaS provider to setup multi-tenancy solution
• Empower customers to design/create their own dashboard
• Isolate users and dashboards between customers
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
3. Author Embedding for Multitenancy
Enterprise/SaaS QuickSight account
CustomerA CustomerB
Default namespace namespace namespace
Authors Authors Authors
Readers Readers Readers
Dashboard Dashboard Dashboard
Datasets Datasets Datasets
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
4. QuickSight Q Embedding
Ask natural language questions about your data
and get answers in seconds
Type your question and get instant answer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key benefits
Natural language Get instant Ask about all Get started Know what
questions answers of your data in minutes users want
Ask questions in plan Get answers No need to specify Get started with Understand the
business language. instantly to ad-hoc a particular dataset your existing exact questions
No need to learn questions not found or dashboard to datasets just and insights users
any syntax in your dashboards ask question a few clicks are looking for
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
QuickSight Q Embedding workflow
• Workflow and API is same as User-based embedding
GenerateEmbedUrlForRegisteredUser
In QuickSight Q embedding, use argument
--experience-configuration QSearchBar
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo – QuickSight Q Embedding
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Embedding Types and Use Case
Embedding Types Use Case
#1: Public Embedding Dashboard
Anonymous
#2: Tag-based Row Level Security
#1 Enterprise Embedding Dashboard
User-based
#2 1-Click Embedding
#1 Author Embedding Dashboard
Author
#2 Multitenancy solution
QuickSight Q #1 Natural Language Query dashboard
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Call to action
QuickSight Workshop: https://quicksight.workshop.aws
Embedded Analytics Demo: https://www.developer.quicksight.aws/
QuickSight Demo Central: https://democentral.learnquicksight.online/
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Learn in-demand AWS Cloud skills
AWS Skill Builder AWS Certifications
Access 500+ free digital courses Earn an industry-recognized
and Learning Plans credential
Explore resources with a variety Receive Foundational,
of skill levels and 16+ languages Associate, Professional,
to meet your learning needs and Specialty certifications
Deepen your skills with digital Join the AWS Certified community
learning on demand and get exclusive benefits
Access new
Train now exam guides
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Roy Yung
Linkedin
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Please complete
the session survey
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.