---
schema_version: "1"
id: 1f866287f6293a274c07f844fcf66a0975a6b5aeae0590c3a4e34d33917e9730
title: Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Cloud
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/online/config_cors_sfdc.md
canonical_url: https://help.tableau.com/v0.0/online/en-us/config_cors_sfdc.htm
source_site: help.tableau.com
content_type: documentation
content_hash: c38e6b2f9407afe695a1425dabbc051024ab226f273d5c8e38e404200c74d94e
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 Cloud

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/next/en-us/online/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/next/en-us/online/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/next/en-us/online/en-us/Img/config_cors_einstein_new.png)
4. In CORS Allowed Origin List Edit, enter the URL of Tableau Cloud, beginning with "https://".
    
    ![CORS setup window with an original URL pattern entered and a cursor hovering over the Save button.](/tableau/next/en-us/online/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.