---
schema_version: "1"
id: 2f6260306651367c8054e51ddea134399c88180af8178b800b2d06c721b03188
title: Configure Einstein Discovery Integration
collection: tableau
version: current
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/current/en-gb/server-linux/config_einstein_extensions.md
canonical_url: https://help.tableau.com/current/server-linux/en-gb/config_einstein_extensions.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 0fdd52d247cbb05a41c4df8be3ba2ba1befcf155f801877756879c48edcf1a9f
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 with version 2021.1.0, Tableau Server supports integration with Einstein Discovery, making Einstein Discovery predictions available to authors and viewers of workbooks and 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.

To integrate Einstein Discovery with Tableau Server, there are several necessary configuration steps, including some in Tableau Server, and some in the Salesforce org running Einstein Discovery. This overview outlines these steps for Dashboard extensions, Analytics extensions and Tableau Prep extensions, and provides links to specific topics with steps for completing the server configuration.

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 extensions

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.

To configure Tableau Server for the Einstein Discovery dashboard extension you need to do the following:

1. In Tableau Server:
    1. Enable saved OAuth tokens for data connections and extensions in Tableau Server. [Allow Saved Access Tokens](https://help.tableau.com/current/server-linux/en-gb/allow_saved_tokens.htm)
    2. Enable Dashboard extensions for the server. See: [Manage Dashboard and Viz Extensions in Tableau Server](https://help.tableau.com/current/server-linux/en-gb/dashboard_extensions_server.htm)
2. In Salesforce, in the organisation running Einstein Discovery:
    1. [Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Server](https://help.tableau.com/current/server-linux/en-gb/config_cors_sfdc.htm).
    2. In Salesforce, in the organisation running Tableau CRM, create a connected app. See [Step 1: Configure app integration in Salesforce](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#createSF-connectedApp).
3. In Tableau Server, configure server for saved SF OAuth credentials using information from the connected app. [Step 2: Configure Tableau Server for Salesforce.com OAuth](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#configServerSF-SavedOAuth)

## Einstein Discovery analytics extensions

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.

To configure Tableau Server for either the Einstein Discovery analytics extension you need to do the following:

1. In Tableau Server:
    1. Enable saved OAuth tokens for data connections and extensions in Tableau Server. [Allow Saved Access Tokens](https://help.tableau.com/current/server-linux/en-gb/allow_saved_tokens.htm)
    2. Enable analytics extensions for the server and configure a connection type. See: [Configure Connections with Analytics Extensions](https://help.tableau.com/current/server-linux/en-gb/config_r_tabpy.htm)
2. In Salesforce, in the organisation running Einstein Discovery, create a connected app. See [Step 1: Configure app integration in Salesforce](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#createSF-connectedApp).
3. In Tableau Server, configure server for saved SF OAuth credentials using information from the connected app. [Step 2: Configure Tableau Server for Salesforce.com OAuth](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#configServerSF-SavedOAuth)

## Einstein Discovery Tableau Prep extensions

_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.

To configure Tableau Server or Tableau Cloud for the Einstein Discovery Tableau Prep extension, you need to do the following:

1. In Tableau Server:
    1. Enable saved OAuth tokens for data connections and extensions in Tableau Server. See [Allow Saved Access Tokens](https://help.tableau.com/current/server-linux/en-gb/allow_saved_tokens.htm)
    2. Enable Tableau Prep Extensions for the server. See [Enable Tableau Prep Extensions](https://help.tableau.com/current/server-linux/en-gb/web_author_flows.htm#prep_extensions).
2. In Salesforce, in the organisation running Einstein Discovery, create a connected app. See [Step 1: Configure app integration in Salesforce](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#createSF-connectedApp).
3. In Tableau Server, configure server for saved SF OAuth credentials using information from the connected app. [Step 2: Configure Tableau Server for Salesforce.com OAuth](https://help.tableau.com/current/server-linux/en-gb/config_oauth_sfdc.htm#configServerSF-SavedOAuth)

## Other articles in this section