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