---
schema_version: "1"
id: dc67092dcaffb273eac76e307601a25717f5a358d3130794ff509701f773f16c
title: Aura Component for CRM Analytics Dashboards
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/dashboard-component/guides/bi-dbcomp-aura-overview.md
canonical_url: https://developer.salesforce.com/docs/analytics/dashboard-component/guide/bi-dbcomp-aura-overview.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d5175cf2717dfa2b3afda6f894c7be20fa11cb2c34b86273b7f76d899c8926c7
products:
  - Analytics Dashboard Component
  - analytics
---
# Aura Component for CRM Analytics Dashboards

The Aura component `wave:waveDashboard` displays a CRM Analytics dashboard in a Visualforce or Lightning page.

The component, **CRM Analytics Dashboard** is available in the Lightning App Builder as a drag-and-drop component. You can also create your own component to interact programmatically with the `wave:waveDashboard` component.

To display a CRM Analytics dashboard, pass in the required attribute, which is either the `dashboardId` or the `developerName`. All other attributes have a default value and are only specified if you want to override with your own custom value.

To change the dashboard state dynamically, use the `filter` attribute to add selections or filters to the embedded dashboard. You can filter dataset fields by variables or specified values. See [Filter and Selection Syntax for Embedded Dashboards](https://help.salesforce.com/s/articleView?id=analytics.bi_embed_filters.htm) in Salesforce Help.

You can also update the dashboard state via the `setState` component method or by using the CRM Analytics Web SDK Events like `wave:update`. For details on using events to interact with this component, see [CRM Analytics Aura Events](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_sdk.meta/bi_dev_guide_sdk/bi_sdk_web.htm) in the _Analytics SDK Developer Guide_.

Here's an example of a simple Aura component for CRM Analytics dashboards.

```xml
<aura:component implements="force:appHostable,force:hasRecordId">
  <wave:waveDashboard dashboardId="0FKxx000000000xxxx" height="1200"/>
</aura:component>
```

**See Also**

- [Wave Dashboard Aura Component Reference](https://developer.salesforce.com/docs/component-library/bundle/wave:waveDashboard/documentation)
- _Salesforce Help_: [Embed Dashboards in Lightning Pages](https://help.salesforce.com/s/articleView?id=analytics.bi_embed_lightning.htm)
- [Add an Analytics Dashboard to a Visualforce Page](https://help.salesforce.com/s/articleView?id=analytics.bi_embed_vf.htm)
- [Lightning Web Components Developer Guide](https://developer.salesforce.com/docs/platform/lwc/guide)
