---
schema_version: "1"
id: 090ad031f6cf6f66d680c5358f9000b04ef16b5370be58c3862c7ae5fc095f29
title: Configure Einstein Discovery Integration
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/online/config_einstein_extensions.md
canonical_url: https://help.tableau.com/v0.0/online/en-gb/config_einstein_extensions.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 6a9c505e42e2821836e0c7bc6eab619b08e7c3efcddf6dc1148140cad48a4154
description: Configure Einstein Discovery integration for dashboards, analytics, and Prep flows in Tableau Cloud.
---
[Skip to main content](#main-content)

# Configure Einstein Discovery Integration

Beginning March, 2021, Tableau Cloud supports integration with Einstein Discovery, making Einstein Discovery predictions available to authors and viewers of dashboards. Starting in version 2021.2.0, Einstein Discovery predictions is also now available when authoring flows on the web.

Einstein Discovery in Tableau is powered by [salesforce.com](http://salesforce.com/). Consult your agreement with [salesforce.com](http://salesforce.com/) for applicable terms.

For details on how to use Einstein Discovery predictions in Tableau, including licensing and permission requirements, see [Integrate Einstein Discovery Predictions in Tableau](https://help.tableau.com/current/pro/desktop/en-gb/einstein_discovery_predictions.htm) in the Tableau Desktop and Web Authoring Help. For information about adding predictions in flows, see [Add Einstein Discovery Predictions to your flow](https://help.tableau.com/current/prep/en-gb/prep_predictions.htm).

## Einstein Discovery dashboard extension

The Einstein Discovery dashboard extension allows workbook authors to surface real-time predictions in Tableau. The dashboard extension delivers predictions interactively, on-demand, using source data in a Tableau workbook and an Einstein Discovery-powered model deployed in Salesforce.

By default, Tableau Cloud site configuration allows saved OAuth access tokens, so the only step necessary is to configure Cross-Origin Resource Sharing (CORS) in the Salesforce org that hosts Einstein Discovery. This requires permissions in the Salesforce org. For details on necessary licences and permissions, see [Requirements for access - Einstein Discovery](https://help.tableau.com/current/pro/desktop/en-gb/einstein_discovery_predictions.htm#Requirem). For details on configuring CORS in Salesforce, see [Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Cloud](https://help.tableau.com/v0.0/online/en-gb/config_cors_sfdc.htm).

## Einstein Discovery analytics extension

The Einstein Discovery analytics extension gives your users the ability to embed predictions directly in Tableau calculated fields. A table calc script requests predictions from a model deployed in Salesforce by passing its associated prediction ID and input data that the model requires. Use Model Manager in Salesforce to auto-generate a Tableau table calculation script, and then paste that script into a calculated field for use in a Tableau workbook.

By default, Tableau Cloud site configuration allows saved OAuth access tokens, so the only step necessary is to configure Cross-Origin Resource Sharing (CORS) in the Salesforce org that hosts Einstein Discovery. This requires administrator permissions in the Salesforce org. For details, see [Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Cloud](https://help.tableau.com/v0.0/online/en-gb/config_cors_sfdc.htm).

## Einstein Discovery Tableau Prep extension

_Supported in Tableau Server and Tableau Cloud, starting in version 2021.2.0_

The Einstein Discovery Tableau Prep extension enables users to embed Einstein predictions directly in their flows when authoring flows on the web.

By default, Tableau Cloud site configuration allows saved OAuth access tokens, so the only necessary step is to enable Tableau Prep Extensions for the server. This requires administrator permissions in the Salesforce org. For details, see [Enable Tableau Prep Extensions](https://help.tableau.com/current/server/en-gb/web_author_flows.htm).

## Other articles in this section