Tableau
Connect Tableau Cloud to Ploy to see every user on your Tableau site, the site role each one holds (which is also their licence), whether they are licensed or unlicensed, when they last signed in, and who belongs to each group. Ploy can also add users, deactivate and reactivate them, change their site role, add and remove them from groups, and remove them from the site.
This integration is in beta. It was built from Tableau's REST API documentation and has not yet been run against a live Tableau site. Everything works the same way as any other integration, but expect us to refine it as the first customers connect.
Before you start
You need:
A Tableau Cloud user who is a site administrator (Site Administrator Creator or Site Administrator Explorer). Ploy acts with that administrator's permissions.
Personal access tokens turned on for your site. On sites created since mid-2023 they are off by default: a site administrator turns them on under Settings, then General, then Personal Access Tokens.
The address you sign in at, for example
https://10ax.online.tableau.com/#/site/acme/home. The first part,10ax, is your pod. The part after/site/,acme, is your site ID.
Ploy connects to Tableau Cloud. Tableau Server installed on your own servers is not supported.
Step 1: Create a personal access token
Sign in to Tableau Cloud as the site administrator.
Open your profile picture, then My Account Settings.
Under Personal Access Tokens, enter a name such as "Ploy" and select Create Token.
Copy the token name and the token secret. Tableau shows the secret only once.
A token that is not used for 15 days expires. Ploy scans regularly, which keeps it in use. Your site may also set a maximum token lifetime; when the token expires, create a new one and reconnect.
Step 2: Connect Tableau in Ploy
In Ploy, open Integrations and choose Tableau.
Tick the beta consent box. Because this integration is in beta, Ploy asks your permission to keep redacted error data: when Tableau answers a request with an error, Ploy records that error with personal details and secrets removed, so we can fix problems quickly. Nothing is recorded when requests succeed.
Enter your pod and site ID.
Paste the token name and token secret, then continue.
On the next page, Ploy signs in with your token and shows your site. Select it.
Save. Ploy tests the connection by reading one user from your site.
If the site list on the second page is empty, Ploy could not sign in: go back and check the pod, site ID, token name and secret.
What Ploy reads
Every user on your Tableau site, with their name and email address.
Each user's site role, such as Creator, Explorer, Viewer or Site Administrator Creator. The site role is also the user's licence.
Unlicensed users. They hold no licence and cannot sign in, so Ploy shows them as blocked with their access removed.
When each user last signed in.
Every group on the site, including groups synchronised from Active Directory, and who belongs to each one. A group that licenses its members when they sign in says so in its description.
Ploy does not read your workbooks, data sources, views, projects or their permissions.
What Ploy can change
Add a user by email address. New users are Viewers unless the flow names another site role. Adding someone who is already on the site counts as done.
Deactivate a user, which makes them Unlicensed. Their account and content stay on the site.
Reactivate a user, which makes them a Viewer. Give them a higher site role from Ploy afterwards.
Change a site role: give a user a different site role, or remove the one they hold, which makes them Unlicensed.
Add and remove group members.
Remove a user from the site. Content they own stays on the site.
Troubleshooting
"Tableau rejected that personal access token": check the token name and secret were copied in full, that the token has not expired, and that the pod and site ID match the address you sign in at.
"That token cannot read users": the token must belong to a site administrator.
A change is refused: the site may have no free licence for the site role, or Tableau may be refusing to remove the token's own user or the site's last administrator.
A group change is refused: groups synchronised from Active Directory may be managed there instead.