Configure CORS in 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 organization would do this configuration. You can find more information about CORS in the Salesforce documentation, Configure Salesforce CORS Allowlist(Link opens in a new window).

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 developer account, click your user name in the upper-right, and then select Setup.

  2. In the left navigation column, search for "cors" and select CORS .

  3. In CORS, in the Allowed Origins List section, click New.

  4. In CORS Allowed Origin List Edit, enter the URL of your Tableau server, beginning with "https://".

    For more information about the URL pattern, see the Salesforce developer documentation: opens in a new window)

  5. Click Save.

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!