---
schema_version: "1"
id: 18c678bb41d82656bfc163ba76fbf283003f220fb3e06b8e89b8a0237b747177
title: CRM Analytics API
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/lwc/components/lightning/analyticsWaveApi/lightning-analytics-wave-api.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/lightning-analytics-wave-api.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 04ef44da0fc8e5453d4d4d7ec2285b739e6d5057b979a95a6c514e5fecf33603
products:
  - Lightning Component Reference
---
# CRM Analytics API

**`lightning/analyticsWaveApi`**

Get data and metadata for CRM Analytics assets, execute queries, and schedule data syncs for recipes, dataflows, and data connectors using the `lightning/analyticsWaveApi` module. CRM Analytics was previously known as Wave Analytics. The `lightning/analyticsWaveApi` module requires API version 52.0 or later.

**For Use In**

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

::::::tabset{tabs='[ "Develop", "Specifications" ]'}

:::::tab
The `lightning/analyticsWaveApi` module includes wire adapters and methods to work with CRM Analytics.

To use the CRM Analytics API in your component, import the functions in your component's JavaScript file.

```js
import {
  createDataConnector,
  createDataflowJob,
  createDatasetVersion,
  createDataset,
  createReplicatedDataset,
  ...
} from "lightning/analyticsWaveApi";
```

For this module's specification and examples, see the [Lightning Web Components Developer Guide](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-analytics-wave-api).

:::::

:::::tab
::component-specification{component="analyticsWaveApi" model="lwc" namespace="lightning"}

:::::

::::::
