---
schema_version: "1"
id: acff46368022b77162800f9aa4b88d4f2a9bfe2ffa673810a28815b6a8258924
title: Configure CORS in Salesforce.com for Einstein Discover Integration in Tableau Server
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/server/config_cors_sfdc.md
canonical_url: https://help.tableau.com/v0.0/server/en-gb/config_cors_sfdc.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 556fec8a6710ae31307295a5160e4db8a1e9d650b08c6e6a1c8a8334b3819213
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 organisation 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 username in the upper-right, and then select Setup.
    
    ![A gear icon with a tooltip that says Setup.](/tableau/next/en-gb/server/en-gb/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-gb/server/en-gb/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-gb/server/en-gb/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-gb/server/en-gb/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-gb.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.