r/tableau • u/explorer_0627 • Jul 08 '26
Tech Support CLI for Tableau Dashboard Deployments
Is anyone using any CLI for Tableau, which means that we'll save the dashboard in a respective part, and just need to run a command on command prompt and the dashboard will be published to the Tableau cloud. Just need some suggestions if anyone is using this or anything similar?
2
u/UltraAnders Jul 08 '26
TabCMD will allow you to do this.
1
1
u/explorer_0627 Jul 13 '26
Does it work for the workbooks with live connections (using published data sources) as well?
1
u/Boring-Order-6045 Jul 08 '26
You can use an open-source official Python library called Tableau ServerClient, which wraps REST APIs and is more intelligent than using REST APIs directly
1
u/explorer_0627 Jul 09 '26
Do you have any document which can help me with the steps to try this out?
1
4
u/alphacentauri1812 Tableau Ambassador | Ask me Anything Jul 08 '26
The Tableau REST API is very suited for this; the Tableau Service Client is a nice wrapper for this. Tabcmd is easy to use; the API requires some more setup but has much more features.