---
schema_version: "1"
id: 4781d62256e521ba2e87995b90bf4c80c440d75100f92572e861b0d19899f75b
title: Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Server
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/server/config_cors_sfdc.md
canonical_url: https://help.tableau.com/current/server/en-us/config_cors_sfdc.htm
source_site: help.tableau.com
content_type: documentation
content_hash: a0d75086d91452ed7dea50d16e04f9b6cf60c3969b98547376bf2335e3e19441
description: Configure CORS in Salesforce to enable the Einstein Discovery integration in Tableau Cloud.
---
[Skip to main content](#main-content)

# Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Server

In version 2021.1.0 the ability to integrate Einstein Discovery predictions into Tableau Dashboards was added. You can do this using the Einstein Discovery dashboard extension. A prerequisite for this is configuring Cross-Origin Resource Sharing (CORS) in the Salesforce org that hosts Tableau CRM and includes the model and predictions that are going to be used.

This procedure explains how an administrator in a Salesforce.com organization would do this configuration. You can find more information about CORS in the Salesforce documentation, [Configure Salesforce CORS Allowlist](https://help.salesforce.com/s/articleView?id=sf.extend_code_cors.htm).

## Configure CORS for Einstein Discovery.

**Note:** This procedure documents the process in Salesforce Lightning. If you are using the traditional interface, the navigation may be different but the configuration is the same.

1. Sign in to your Salesforce.com developer account, click your user name in the upper-right, and then select Setup.
    
    ![A gear icon with a tooltip that says Setup.](/tableau/current/en-us/server/en-us/Img/config_oauth_einstein_cxapp_setup.png)
2. In the left navigation column, search for "cors" and select CORS .
    
    ![Search field with CORS entered as a search term, and the CORS search result shown.](/tableau/current/en-us/server/en-us/Img/config_cors_einstein_search.png)
3. In CORS, in the Allowed Origins List section, click New.
    
    ![CORS setup window with the Allowed Origins List shown and a cursor hovering over the New button.](/tableau/current/en-us/server/en-us/Img/config_cors_einstein_new.png)
4. In CORS Allowed Origin List Edit, enter the URL of your Tableau server, beginning with "https://".
    
    ![CORS setup window with an original URL pattern entered and a cursor hovering over the Save button.](/tableau/current/en-us/server/en-us/Img/config_cors_einstein_allow_list.png)
    
    For more information about the URL pattern, see the Salesforce developer documentation: [https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/extend\_code\_cors.htm](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/extend_code_cors.htm)
5. Click Save.