Copy Component Code Snippet from Tableau Next
Tableau Next provides a quick start for embedding code directly from your dashboard, visualization or metric. The embed feature creates component code for your selected asset, that you can copy and use in your web app.
-
Open your asset in Tableau Next, click Share, and select the Embed tab.

-
To copy the code snippet for use in your web app, click Copy Embed Code. This snippet has placeholders for the
AUTH_CREDENTIALandSDK_SOURCEvalues. You must replace these placeholders with actual values when you copy the code to your web app.
If you have any filters applied to your dashboard, visualization, or metric, they aren't present in the code snippet. These filters are supported in Winter '26. Add and use filters programmatically in your web app code.