# Share/ Embed Dashboard link

### Create a new share configuration&#x20;

1. Open Dashboard editor
2. In the top right corner of the Dashboard, click **Share** button to generate a new share configuration
3. Click **Create a new share config** button

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FhsjNKtP9tNKhdi5BOLwl%2Fimage.png?alt=media&#x26;token=f3b91fb3-7122-4158-9e9d-64d7e08a151a" alt="" width="375"><figcaption></figcaption></figure>

4. Enter the following information to set up and customize the share configuration

* **Title:** enter title for the share configuration
* **Role:** the role of the user who has access to this share configuration
* **Authentication method:** select whether users need to enter a password to access the report
* **Password:** enter password if selected to authenticate with password
* **Pages:** select pages to be shared for the share configuration
* By default pages that are chosen to **Hide in view mode** are not selected to be shared. If you would like to still share those pages, please make sure that you select those pages
* **Default page:** the very first page the user will see upon accessing the report

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FPPNDbYGkw3782QH7tfXr%2Fimage.png?alt=media&#x26;token=5897027e-74b8-4b60-a120-cfceba5f49df" alt="" width="375"><figcaption></figcaption></figure>

**Create sealing for your report**

1. **Disable:** no sealing for the report. Be careful when choosing **Disable** option because Your Dashboard is not protected when sharing external without sealing.
2. **Quick:**

{% hint style="info" %}
**Quick seal** seals some parameters values, in alpha order (ex. \&token=**xyz** \&customer=**abc**\&date1=2020 will use **abcxyz** as sealing string, if you use "customer,token" or "token,customer" as sealing parameters, because **customer** before **token** in alpha order)
{% endhint %}

* **Hash function**&#x20;

A hash function processes an input value, such as a string, and produces a consistent, fixed-length output. There are 3 hash functions: MD5, SHA-1, SHA-25&#x20;

MD5 creates a 128-bit hash, whereas SHA1 creates a 160-bit hash (20 bytes). The SHA-256 algorithm returns hash value of 256-bits, or 64 hexadecimal digits

For example, Your string: to\_date = 2023-12-12 (param value you want to seal using Hash function)

**MD5 Hash:** Df491bce52045a447683f82bf9936173

**SHA1 Hash:** 889e732df68ae54778977e2869a5210102dd9d46

Now, the URL link returns: <https://app.dataflake.co/s/………?to\\_date> = 2023-12-12\&quick\_seal=Df491bce52045a447683f82bf9936173

* **Salt**

To the high level of protection, hash salting generators matter. Salt is a cryptographically strong random string applied to a password before hashing. This salt is stored alongside the hash, enhancing security by thwarting attempts to decipher the original plaintext unless both sources are accessible to an attacker.

The applied secret key formula: **Secret key = hash (params + salt)**

When you want to create a secret key, you just need to enter plain text to compute the hash and type **“salt”**. For instance,&#x20;

<figure><img src="https://assets-global.website-files.com/640aa66687a187b529748057/65129d904c84be0d0ff1de4f_mgcJuVM-X61SNwQ-xD0jXQd7z9G7Ps9XN6MWBMio6dwAfXrwXCFaK7T1afhpMYtvRZavhTfU7ue6W2BHF3xX4BGHiS-lnfvTRNDSwzNOLoa_7NRsaZpAksqSIY9r3txTypHbEM-CNZIYlHn_AExnZTc.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FnjeBcVjP6gxGSjdthtOZ%2Fimage.png?alt=media&#x26;token=dd77ab01-7c3b-4648-81a6-4296cd63f0b7" alt="" width="375"><figcaption></figcaption></figure>

‍3. **Advanced:** coming soon

Click **Save** to save the new share configuration

### Share Dashboard URL&#x20;

1. Click **share configuration** you created before

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2Fn2sUADmYhPvdKS5SWhOc%2Fimage.png?alt=media&#x26;token=1ca30798-08bc-4db8-8d4f-1bcfdbd3cdac" alt="" width="375"><figcaption></figcaption></figure>

2. Go to **Share demo** section

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2F1QCidBOeN2FOg5rrXcJM%2Fimage.png?alt=media&#x26;token=751467ba-b6ed-4fe0-89b8-1b3a5c0616c1" alt="" width="375"><figcaption></figcaption></figure>

3. Select **URL** in the **Share type** field
4. Enter **seal params value** if any
5. Copy paste the URL and share it with your teams

Or you can embed the Dashboard link into the application or website&#x20;
