Skip to main content
How to deploy Einstein Analytics

Einstein Analytics is also known as Tableau CRM and can be deployed via "Wave" metadata types

Claudia McPhail avatar
Written by Claudia McPhail
Updated over 4 months ago

What is Einstein, in the context of Salesforce?

Einstein Analytics, previously known as Wave, gives an analytical oversight of your data with custom dashboards and graphs. It allows you to make data-driven decisions to improve the effectiveness of your business.

Einstein components are one of the more recent features of the Salesforce ecosystem. They are not enabled in all orgs, or enabled by default.

If you are not familiar with Einstein Analytics and would like to learn more, there is a Salesforce Trailhead trail here.

Does Gearset support Einstein?

Yes, Gearset supports the comparison and deployment of your Einstein Analytics metadata. 

How do Einstein components appear in the comparison results table?

They will be visible as the following metadata types:

Wave application

Wave component

Wave dashboard

Wave dataflow

Wave dataset

Wave lens

Wave recipe

Wave XMD

You will need to include these in the metadata comparison filter before running the comparison - they are not included in the Default comparison filter.

Note that although they are now referred to as 'Einstein' in the Salesforce user interface, in the Salesforce metadata API they are referred to by their established name of Wave, and therefore the Wave metadata names are used within the Gearset app.

What do I need to include in my deployment package in order to deploy my Einstein components to the target successfully?

Wave type metadata is required for the deployment of Einstein components, but there are other types you should be including as well. Like Profiles, these pieces of metadata reference the wider structure of your org, so including referenced Custom objects will make your deployment more likely to succeed.

How can I deploy bots?

To deploy an Einstein bot you will need to include (at a minimum) the metadata types Einstein bot and Bot version in your comparison filter.

You will see your Einstein bot in your comparison with the metadata type Einstein bot.

It is possible to deploy individual bot versions.

Troubleshooting checks if you cannot see the components in your comparison results

  • Have you enabled Einstein Analytics in both your source and target? You can check whether they have been enabled by going to into the setup and settings of your org.

  • Have you included all of the Wave metadata types in your metadata comparison filter before running the comparison?

  • Have you selected All items for Custom object in your metadata comparison filter before running the comparison?

  • As with other metadata types, your subcomponent may be nested under an item of No difference.

  • Is what you are trying to deploy changes to an active bot? Modifying an active bot by deployment is not supported by Salesforce at the moment. If you try to, you may receive an error message such as Can't edit an active bot version. Gearset (like other tools using the Salesforce metadata API) cannot override this particular limitation.

  • Are you trying to retrieve/deploy a Wave XMD component? You may be hitting this Salesforce limitation. As outlined in the document:

    • An MDAPI retrieve operation returns the Primary User XMD file only if the file was deployed using MDAPI.

    • If you do either of the following, the MDAPI retrieve operation returns an empty XMD file:

      • Update the Primary User XMD file using REST API.

      • Update the Standard User XMD file through the UI or REST API.

      This result occurs even if the files were originally deployed using MDAPI.

  • Did you hit the error: A recipe must specify a Dataflow? For more information, you can check this blog post written by one of our engineers.

Did this answer your question?