For a minimal implementation see the demonstration editor:
https://bubble.io/page?type=page&name=tableauenterprise&id=genstateplugintester&tab=tabs-1
and secure runtime with row level security:
https://genstateplugintester.bubbleapps.io/version-test/tableauenterprise?debug_mode=true1. In the Plugins tab, add the plugin to your application.
2. In the Tableau Enterprise Plugin, enter the keys in the environment variables.
3. In the Design tab, add a Tableau element to your page.
4. In the Workflow tab, add the element's Initialized event.
5. In the event, add the Get Token action, passing the Tableau username, expiration date, scopes, and optional attribute key-value pairs.
6. In the event, add the Render action, passing the token, and a Tableau URL.
Plugin Keys:
"Server Name" - Domain name of the Tableau Server instance, without the protocol specifier, or trailing backslashes.
"Client Id" - Unique identifier of the Connected Application.
"Secret Id" - Unique identifier of the secret for the Connected Application.
"Secret Value" - confidential and private secret of the specific Connected Application.
Server-Side Actions:
"Get Token" - Generates a JSON Web Token formatted according to Tableau security.
Hints:
* Tableau server will not accept a JWT with an expiration more than 10 minutes in the future.
* To wrap a single string in a list use the "Split by" operator and specify a delimiter that is NOT found in the string.
* All the usual provisos apply for handling responses from third party services. The Bubble developer needs to consider cases where the Tableau Server returns invalid or unusable responses.