# Lightning Web Components for Analytics Dashboards

There are two Lightning web components for displaying dashboards in Salesforce. The `wave-wave-dashboard-lwc` component displays a CRM Analytics dashboard in a Lightning page. The `wave-community-dashboard` component displays a CRM Analytics dashboard in Experience Cloud.

The component, **LWC CRM Analytics Dashboard**, is available in both the Lightning App Builder and the Experience Cloud Builder as a drag-and-drop component. You can also create your own component to interact programmatically with the `wave-wave-dashboard-lwc` or  `wave-community-dashboard` components.

To display a CRM Analytics dashboard, pass in the required attribute, which is either `dashboard` or `developer-name`. All other attributes have a default value and are specified only if you want to override the default with your own custom value.

## Example: CRM Analytics Dashboard component on a Lightning Page

```xml
<template>
  <wave-wave-dashboard-lwc dashboard="0FKxx000000000xxxx" height="800" show-title="true">
  </wave-wave-dashboard-lwc>
</template>
```

## Example: CRM Analytics Dashboard component on an Experience Cloud page

```xml
<template>
  <wave-community-dashboard dashboard="0FKxx000000000xxxx" height="800" show-title="true" community-base-path="/communitySite/s">
  </wave-community-dashboard>
</template>
```

**See Also**

- [Lightning Web Component for Analytics Dashboards Reference](/docs/analytics/dashboard-component/guide/bi-dbcomp-lwc-reference.md)
- *Salesforce Help*: [Embed Dashboards in Lightning Pages](https://help.salesforce.com/s/articleView?id=analytics.bi_embed_lightning.htm)
- - *Salesforce Help*: [Share CRM Analytics in Experience Cloud Sites](https://help.salesforce.com/s/articleView?id=analytics.bi_app_communities.htm)
- [Lightning Web Components Developer Guide](https://developer.salesforce.com/docs/platform/lwc/guide)
