---
title: HyperBI / QuickSight
slug: hyper-portal/hyperbi-quicksight
docTags: 
createdAt: 2021-04-07T05:58:38.000Z
---

## Workflow to create/share

1. &#x20;QuickSight:&#x20;
   `Create dataset` -> `Create analysis`  -> `Share::Publish dashboard` -> `Share::Share dashboard` -> `Choose user(s) or group(s)` (see limitations)
2. HyperPortal:
   Set a `HyperBI users`  group with a `HyperBI` permission for User.



## How it works

When user go to HyperBI page in the portal first time, app create user account on the QuickSight side with parameters:

- name: `prod|staging` -statistics-service-QuickSightEmbededRole-TD33LV1COFEG/ `tenantId` -- `user title` - `user entityId`&#x20;
- email: `tenantId` -- `user title` - `user entityId` &#x20;

Also user will be added to group of own tenant: `tenantId` - `staging|prod` . This **group** will be created when some user open `HyperBI` page first time from this tenant.

## Limitations&#x20;

So, from the above text, we get limitation:&#x20;

1. That we can share dashboard for group: some users should the first visiting page `HyperBI` in the portal that app will create group of tenant in the QuickSight.
2. That we can share dashboard for user: users should visiting page `HyperBI` in the portal  the first that app will create user account in the QuickSight.



## Recommendations

You can share dashboard to tenant group and all users will see it at once and you don't need share dashboard for each user.&#x20;
Use sharing for user when you want to show the dashboard not to everyone with `HyperBI` permission users.

