---
schema_version: "1"
id: f3870932d965289fd5599f89dfc5d2e6e7ba543295be0e0732a862ea3b3893a0
title: Samples
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/js_api/JavaScriptAPI/js_api_samples.md
canonical_url: https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_samples.htm
source_site: help.tableau.com
content_type: documentation
content_hash: ba1ecbb1bc3b9130b829ff0ffbdc7eba5a735bb08f23aaf3ecad2d4a9c939755
description: Important changes for the Tableau JavaScript API
---
[Skip to main content](#main-content)

# Samples

**Important changes for the Tableau JavaScript API**

As of February 2024, the Tableau JavaScript API is deprecated. Use the Embedding API v3 instead for embedding interactive views into web pages and applications. For guidance on embedding Tableau views, see the [Tableau Embedding API v3 Help](https://help.tableau.com/current/api/embedding_api/en-us/index.html).

View a list of JavaScript API samples below. Feel free to copy, modify, and redistribute the code in these samples.

**Note**: Tableau does not provide support for programs that customers create that use the Tableau JavaScript API. For help with your code, submit questions and ask for help on the Tableau developer community forums. Tableau does provide support for potential bugs in the Tableau JavaScript API code itself, and for unmodified sample code that isn't working.

  

## Other articles in this section