Best Practices for the Tableau Next Embedding SDK

These are best practices to get the most from your embedding implementation.

Authentication Management 

  • Don’t hardcode OAuth tokens or frontdoor URLs in your client-side code.
  • Pass credentials to the browser only when strictly necessary. Credentials can be scrapped from the browser by malicious actors.

Event Handling 

Add event listeners to your component to handle interactions. Customize component actions and messaging to your end users

Build for Responsiveness 

Use an HTML container to embed your component. The built-in container responsiveness to the changes in the web page ensures the component changes height and width smoothly.

Utilize Debug Mode 

Before deploying your web app for production, turn on debug mode to check for warnings and errors. Remember to turn off debug mode in production.