Share a dashboard
This article provides recommendations for publishing and sharing dashboards and outlines the steps to share a published dashboard.
Who can access your dashboard?
You can share dashboards with users and groups in your Databricks account or workspace. Users registered to your workspace can be assigned varying levels of permissions that define their interaction capabilities with your dashboards.
Users who are not members of the workspace are limited to view-only access to your dashboard. They can view and run the dashboard, but they cannot edit it or the underlying datasets that support it. This access level aligns with view-only roles in other data visualization systems, with the added benefit of not requiring a special license.
Workspace member access
You can grant workspace users permission to view, edit, or manage your dashboard. See AI/BI dashboard ACLs. Workspace users with access to your dashboard can access both the draft or published versions. Workspace users must have at least CAN EDIT permission in order to modify and republish a draft.
Dashboards inherit the permissions set on the enclosing folder. By default, dashboards are stored in the /Workspace/Users/<username>
directory. Anyone who has access to the enclosing folder can also access your dashboard. Only workspace admins can change ownership of a dashboard. See Dashboard administration guide.
Account member access
Registered members of your Databricks account without workspace access can be granted access to a view-only copy of a dashboard published with embedded credentials. They use the publisher’s embedded credential to access the dashboard data and compute resources, bypassing the need for data or compute permissions. Members without access to the workspace cannot access the draft version of the dashboard and do not see the Databricks workspace navigational elements in left sidebar or near the top of the screen. The following image shows an account user's view as they navigate to different shared dashboards.
For members of your account to access shared dashboards, an administrator must first register them with your Databricks account. Dashboard account-level sharing supports email and one-time passcode authentication, and unified login with single sign-on (SSO). This step restricts access to the shared dashboard to only designated members of the account, rather than allowing anyone with the link to view it. See Dashboard administration guide.
Data for shared dashboards
To effectively share insights from a dashboard, viewers must be able to access both the underlying data and the compute resources used to run the supporting queries. This access can be configured in one of the following ways:
-
Embed credentials (default): Viewers run queries using the publisher’s data permissions. This allows users to view the dashboard even if they do not have direct access to the underlying data. This might expose data to users who have not been granted direct access to it. This is the default option.
-
Don’t embed credentials: Each viewer’s own data permissions are applied when accessing the dashboard. Viewers who have access to the dashboard's workspace use the publisher’s compute credentials to process updates. Users without access to that workspace cannot access the data or compute resources required to view the dashboard.
If you choose not to embed credentials, you must verify that viewers have the necessary permissions to access the data displayed on the dashboard. Use Embed credentials when sharing dashboards with users who do not have access to the underlying data or compute.
For draft dashboards, the viewer’s data permissions are always applied, even if the dashboard is published with embedded credentials.
Share a published dashboard
Published dashboards can be shared with the following:
- Specific users and groups in your workspace
- Specific users and groups in your Databricks account
- All users in your Databricks account
If you want to share with everyone in your Databricks account, use the sharing setting: Anyone in my account can view. If you want to share with everyone in your workspace, use the system group: All workspace users.
Use the following steps to share your dashboard:
-
Open a draft or published dashboard.
-
Click Share, then use the Sharing dialog to set permissions for users and groups in your account.
- At the top of the dialog, enter users and groups that you want to share with. You can assign specific permission levels, such as CAN EDIT and CAN MANAGE. Then, click Add.
- To quickly assign view access for anyone in your Databricks account, use the Sharing settings option at the bottom of the Sharing dialog.
Users need access to the workspace to manage or edit a dashboard. Workspace admins can add users to the workspace. See Assign a user to a workspace using the account console.
noteUsers who do not have access to the workspace are limited to CAN RUN permissions. If you grant elevated permissions, such as CAN EDIT, to a user who does not have workspace access, those permissions appear in the Sharing dialog but their actual permissions are limited to CAN RUN. Elevated permissions cannot be applied unless the user is added to the workspace. If the user is assigned a higher permission level and is later added to the workspace, they can interact with dashboards according to the assigned permission. See AI/BI dashboard ACLs for more information on dashboard permission levels.
-
Share the link with users.
- Click Copy link near the bottom of the Sharing dialog to copy a shareable URL for the published dashboard.
- Optionally, you can embed your dashboard in a different website or application.