Tableau
Connecting Tableau with Soal
Follow the three main steps to integrate Tableau with Soal:
- Enable Metadata API
- Create an Access Token
- Retrieve your host name, API version, and site name
- Connect Tableau to Soal
Enable Metadata API (Tableau Server ONLY)
If you’re using Tableau Online, skip this step. For Tableau Server, have your administrator enable the metadata API. Detailed instructions can be found in the Tableau documentation under the section “Enable the Tableau Metadata API for Tableau Server”.
- Open a command prompt as an admin on the initial node (where TSM is installed) in the cluster.
- Run the command:
Create an Access Token
To generate a Tableau access token for Soal, follow these steps:
- Log into your Tableau account.
- Click on your avatar located at the top right, then select ‘My Account Settings’ from the dropdown menu.
- Scroll down to the ‘Personal Access Tokens’ section.
- Enter a name for the token and click ‘Create new token’. Remember to save the token name and secret for later use.
Retrieve Host Name and API Version
- Your host is the first segment of the URL in Tableau Online before the
#
symbol, formatted ashttps://<location>.online.tableau.com
. Example:https://prod-useast-b.online.tableau.com/#/site/Soal/home
. - Determine your API version using the table on this page.
- The site name is located in the URL on Tableau Online, immediately following
/#/site
. Example:https://prod-useast-b.online.tableau.com/#/site/Soal/home
.
Connect Tableau to Soal
Once the Tableau access token is created, proceed to connect Tableau to Soal:
- In the Soal App, go to the
Integrations
tab and select ‘Add Integration’. - Search for and select ‘Tableau’.
- Enter the Tableau credentials you created earlier.
- Click ‘Connect’.
Troubleshooting
Tableau Previews Not Working
Error: iframe is denied by “X-Frame-Options“ directive set to “SAMEORIGIN“
. If hosting Tableau on-premise, disable clickjack defense. More details here. Execute the commands below:
Authorization Failure
Re-generate an access token in Tableau and update it in your Tableau integration in Soal.
PAT Expiration
If extractions are run every 15 days or more, extend your PAT expiry to avoid authorization failures. See here for more details.