Description Usage Arguments Value Examples
Sets the credentials and authenticate for a selected Tableau Server. The sign in function sets a secret access token that can be used for all following API requests. This secret access token is valid for 240 minutes and has to be refreshed after this time period.
1 | sign_in(token_name, token_secret, server_url, site_url = "", api_version)
|
token_name |
The name of the Tableau token |
token_secret |
The Tableau personal access token |
server_url |
Tableau Server URL |
site_url |
The Site URL to log in (if left blank it logs into the default site) |
api_version |
The Tableau REST API version |
None.
1 2 3 4 5 6 7 8 9 | ## Not run:
sign_in(
token_name = "my_token",
personal_access_token = "EE2D2915A4",
server_url = "https://my-tableau-server.com",
site_url = "my_site",
api_version = 3.9)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.