Skip to main content
The Paradime SDK provides CLI commands to interact with Tableau, allowing you to refresh workbooks and data sources, and list available resources.
🔑 API Access RequiredYou will need a Tableau Personal Access Token to use these commands. You can create one in your Tableau Server account settings: Personal Access Tokens🔧 Configure Data Source CredentialsTo enable Paradime to trigger a data extract refresh, ensure that any required credentials are embedded within the extract:
  1. Edit the data source in Tableau
  2. Click ‘Publish’
  3. Select ‘Embed credentials’

Refresh Tableau Resources

Trigger refreshes for Tableau workbooks or data sources with monitoring capabilities.

CLI Command

Options

Recommended SetupFor security and convenience, set your Tableau credentials as environment variables:

Workbook Refresh Examples

Refresh a single workbook by name

Refresh a workbook by UUID

Data Source Refresh Examples

Refresh a single data source by name

Refresh a data source by UUID

Sample Output

List Tableau Workbooks

List all available Tableau workbooks with their names, UUIDs, and project information.

CLI Command

Options

Usage Example

Sample Output

List Tableau Data Sources

List all available Tableau data sources with their names, UUIDs, types, and project information.

CLI Command

Options

Usage Example

Sample Output

Important Notes

  • Resource Identification: Both workbook and data source names and UUIDs are supported interchangeably in refresh commands.
  • Site Management: If you’re using Tableau Server with multiple sites, specify the site name. For Tableau Online or default sites, you can omit this parameter.
  • Job Monitoring: When --wait-for-completion is enabled, the CLI will monitor refresh job progress and provide detailed status updates.
  • Environment Variables: All authentication parameters can be set as environment variables for security and convenience.

Environment Variable Reference

Workflow Integration

These Tableau CLI commands are designed to integrate seamlessly into your data pipeline workflows. Common use cases include:
  1. Post-dbt Refresh: Trigger Tableau refreshes after dbt model runs complete
  2. Scheduled Data Updates: Automate regular refresh cycles for critical dashboards
  3. CI/CD Integration: Include Tableau refreshes in your deployment pipelines
  4. Resource Discovery: Use list commands to programmatically discover available workbooks and data sources
For more information about integrating Tableau refreshes into your Paradime workflows, see the Bolt Schedules documentation.