# How to create IoT Analytics datasource from another AWS account IoT analytics dataset

**URL:** <https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493>\
**Category:** Q&A\
**Tags:** data-source, quick-sight\
**Created:** [May 16, 2023, 6:24am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493 "2023-05-16T06:24:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juvi87](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Juvi87](https://community.amazonquick.com/u/Juvi87)\
**Post date:** [May 16, 2023, 6:24am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/1 "2023-05-16T06:24:33Z")

</div>

Hi i try make a cross account setup. I have two account A and B.  
A account collects data from Iot devices and process the data in Iot Analytics.  
B account is supposed to be centralized Quick Sight monitoring account.

Problem is that how i give permission to Quick Sight to use A account IoT analytics datasets as datasource?  
Is it possible to manage that cross account access thru IAM roles and resource based policies?

Or how it supposed to be done?

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [May 16, 2023, 6:54am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/2 "2023-05-16T06:54:19Z")

</div>

Hi @Juvi87 - Welcome to AWS Quick Sight community and thanks for posting the question. I believe via IAM and resource based you can set up a cross account connection. Can you please raise a ticket to AWS customer support team so that they can guide you in this. To raise a ticket please follow the link - [Creating support cases and case management - AWS Support](https://docs.aws.amazon.com/awssupport/latest/user/case-management.html)

Hi @Max_B - Any expert feedback on this?

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![Max\_B](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Max\_B](https://community.amazonquick.com/u/Max_B)\
**Post date:** [May 16, 2023, 11:20am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/3 "2023-05-16T11:20:41Z")

</div>

There was a similar question - [Cross-account data source access - #5 by m0ltar](https://community.amazonquick.com/t/cross-account-data-source-access/6761/5) . Unless smth has changed since that time, it’s not possible to share QS datasets cross-accounts:

> Do you mean account B dataset pointing to account A’s data source? If yes, Quick Sight do not support this setup.

It’s possible to _share_ the data via s3, redshift, rds, etc. though - [Cross-account data source access - #6 by DeepakS](https://community.amazonquick.com/t/cross-account-data-source-access/6761/6)

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [May 16, 2023, 12:05pm UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/4 "2023-05-16T12:05:25Z")

</div>

Thanks @Max_B  
Hi @Max - Any feedback from your side.

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![Juvi87](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@Juvi87](https://community.amazonquick.com/u/Juvi87)\
**Post date:** [May 17, 2023, 7:29am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/5 "2023-05-17T07:29:33Z")

</div>

Hi, and thanks for fast reply!

In the previous question you indicated, as far as I understand, that account B Quick Sight dataset needs refer to Account A Quick Sight datasource.

in my case Quick Sight service in A account needs to create Quick Sight DataSource from account B IoT analytics dataset which is not same that Quick Sight dataset.

---

<div class="post-metadata">

**Author:** ![Koushik\_Muthanna](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/koushik_muthanna/32/3290_2.png) [@Koushik\_Muthanna](https://community.amazonquick.com/u/Koushik_Muthanna)\
**Post date:** [July 20, 2023, 9:34am UTC](https://community.amazonquick.com/t/how-to-create-iot-analytics-datasource-from-another-aws-account-iot-analytics-dataset/13493/6 "2023-07-20T09:34:47Z")

</div>

Hi @Juvi87 ,

For cross-account, this is more of an IOT setup . Details : [Route messages across multiple accounts with AWS IoT Core and Amazon SQS | The Internet of Things on AWS – Official Blog](https://aws.amazon.com/blogs/iot/route-messages-across-multiple-accounts-with-aws-iot-core-and-amazon-sqs/)

> **[Workshop Studio](https://catalog.workshops.aws/aws-iot-immersionday-workshop/en-US/aws-iot-analytics)**
>
> Discover and participate in AWS workshops and GameDays

So i believe you would have route those messages to from A to B . Then once data is available in B , you can use it for analysis in Quick Sight.

Kind regards,  
Koushik
