---
schema_version: "1"
id: f6d7a585d1397aec41b77c54a1de9a32a85c28154fcc676554516485b46aab1b
title: Set Up Salesforce for Embedding Tableau Next Externally
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/sdk/guides/sdk-setup-sfdc.md
canonical_url: https://developer.salesforce.com/docs/analytics/sdk/guide/sdk-setup-sfdc.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: accc5153531d424124d617ec91d0dccd65fee807d505b9a710a5673274fe22f1
products:
  - Tableau Next Embedding SDK
  - analytics
---
# Set Up Salesforce for Embedding Tableau Next Externally

To embed Tableau Next components in an external web app, complete a one-time setup: create an External Client App (ECA) for authentication, update your Salesforce org settings, assign user permissions, and write code that generates access tokens and Frontdoor URLs.

## Prerequisites

- Ensure your Salesforce org has the Tableau+ or Tableau Next Creator license and that Tableau Next is enabled.
- Verify the Tableau Next admin page is accessible for assigning user permissions and creating an ECA for your authorization flow.
- Identify the users that own any Tableau Next assets you want to embed and request access to those assets.
- Identify the Tableau Next admin with access to configure the ECA and set up the [Content Security Policy (CSP)](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/content-security-policy-intro.html).

## Set Up Steps
Create your ECA to provide authentication. Then, update Salesforce org settings for your domain and cookie requirements. Make sure that the domain and callback URL for the web app match the values in the ECA and in your Salesforce settings.
- [Set Up and Manage Authentication with External Client Apps](https://developer.salesforce.com/docs/analytics/sdk/guide/sdk-setup-tn-auth.md)
- [Update Settings for Tableau Next Embedding](https://developer.salesforce.com/docs/analytics/sdk/guide/sdk-setup-settings.md)

Make sure that all your web app users exist in your Salesforce org and have the correct permissions to view the embedded components.
- [Assign Tableau Next User Permissions](https://developer.salesforce.com/docs/analytics/sdk/guide/sdk-setup-users.md)

Write code in your web app that generates access tokens and Frontdoor URLs, then passes those credentials to the embedded component, so each user is authenticated to Salesforce.
- [Generate the Access Token and Frontdoor URL for Tableau Next Embedding](https://developer.salesforce.com/docs/analytics/sdk/guide/sdk-access-token.md)
