Documentation Index
Fetch the complete documentation index at: https://docs.serval.com/llms.txt
Use this file to discover all available pages before exploring further.
About Tableau
Tableau is a visual analytics platform for exploring, analyzing, and sharing data. Connecting Tableau to Serval lets you automate user and group management, content permissions, site administration, and other operations exposed by Tableau’s REST API directly from your workflows.What the Tableau integration enables
| Capability | Description |
|---|---|
| Automation Workflows | Build Serval workflows to automate anything accessible via Tableau’s REST API |
| User Management | Create, update, and remove users on a site; assign site roles |
| Group Management | Create groups, add or remove members, sync from external identity sources |
| Content Operations | List, move, and manage workbooks, views, data sources, projects, and collections |
| Permissions | Read and update permissions on projects, workbooks, data sources, and other Tableau content |
Tableau Configuration
Prerequisites
Before configuring the Tableau integration in Serval, ensure you have:- A Tableau Cloud or Tableau Server account on the site you want to connect
- A site role with enough privileges for the workflows you plan to build (Site Administrator Creator is recommended for full administration; lower roles work for read-only or content-scoped automation)
- Permission to create Personal Access Tokens on the site
- For Tableau Server: a site or server administrator must have enabled Personal Access Tokens in the site settings — they are off by default on some Server deployments
Step 1: Create a Personal Access Token
Sign in as the integration user
- Sign in to Tableau Cloud or Tableau Server as the user whose permissions Serval should inherit (ideally a dedicated service account).
- Make sure you are signed in to the specific site you want to connect — PATs are scoped to the site you create them on.
Open Account Settings
- Click your profile icon in the top-right corner.
- Select My Account Settings.
- Scroll down to the Personal Access Tokens section.
Step 2: Identify your Server URL
The Server URL is the host portion of your Tableau site URL, without thehttps:// prefix.
- Tableau Cloud: open Tableau in your browser and look at the address bar. The host is the pod your site lives on, e.g.
10ax.online.tableau.com,us-east-1.online.tableau.com,prod-uk-a.online.tableau.com. - Tableau Server: use the hostname or fully-qualified domain your users navigate to (e.g.,
tableau.example.com).
| Field | Use | Don’t use |
|---|---|---|
Server URL | 10ax.online.tableau.com | https://10ax.online.tableau.com/ |
Step 3: Identify your Site Content URL
Tableau Cloud and multi-site Tableau Server deployments host each site under a path like/site/<site-content-url>/....
- Default site (Tableau Server with a single site, or the Default site on Cloud): leave Site Content URL blank.
- Named site: copy the slug that appears between
/site/and the next/in the browser URL.
- Server URL =
10ax.online.tableau.com - Site Content URL =
acme-analytics
Serval Configuration
Once you have your Server URL, Site Content URL (if any), PAT name, and PAT secret, configure Serval:Open the Tableau integration in Serval
- In Serval, go to Apps → Available → Tableau → Connect.
- The Tableau configuration form will appear.
Fill in the fields
| Field | Description | Example |
|---|---|---|
| Server URL | Your Tableau host, without https:// and without a trailing slash | 10ax.online.tableau.com |
| Site Content URL | The slug for the site to connect. Leave blank for the Default site. | acme-analytics |
| Personal Access Token Name | The exact name you gave the PAT in Step 1 | serval-integration |
| Personal Access Token Secret | The secret value copied when the PAT was created | •••••••••••• |
You should now be able to build workflows that use Tableau APIs — managing users and groups, moving content, updating permissions, or any other operation in the Tableau REST API.
How authentication works
Serval does not call Tableau with your PAT directly on every request. Instead:- When a workflow needs to call Tableau, Serval signs in by calling
POST /api/3.24/auth/signinwith your PAT name, PAT secret, and Site Content URL. - Tableau returns a short-lived session token (
X-Tableau-Auth) scoped to that site. - Serval attaches the session token to subsequent REST API calls.
- Only the PAT secret is stored as a credential — session tokens are obtained on demand.
- Permissions, site, and authentication mode are all controlled by the user the PAT belongs to.
- Rotating the PAT in Tableau and updating the Serval connection is a one-step credential rotation.
Troubleshooting
”Unable to connect to Tableau API” / sign-in fails
Most often this means the PAT is wrong, expired, or scoped to a different site.- Confirm the PAT Name matches the token name in Tableau exactly (case-sensitive).
- Confirm the PAT Secret is the value you copied at creation time — Tableau will never show it again, so if in doubt, revoke and recreate.
- Confirm the Site Content URL matches the site the PAT was created on. A PAT created on the
acme-analyticssite cannot sign in to the Default site, and vice versa. - On Tableau Server, confirm an administrator has enabled Personal Access Tokens for the site.
”Failed to access Tableau sites” / “Failed to access Tableau content”
Sign-in succeeded but the user behind the PAT does not have permission to read the resource:- Check the user’s site role. Read-only roles cannot list certain admin resources.
- Check the user’s content permissions on the projects, workbooks, or data sources you are targeting.
Token stops working after a period of inactivity
Tableau Cloud PATs expire after a window of non-use (default 15 days). If your integration has been idle:- Create a new PAT in Tableau using the same name (or a new name).
- In Serval, edit the Tableau integration and update the PAT Secret (and PAT Name if you changed it).
Server URL gets rejected or sign-in 404s
- Make sure the Server URL is the bare host (e.g.,
10ax.online.tableau.com), not a full URL. - Double-check the pod for Tableau Cloud — the host changes per region/pod and is part of the Cloud URL.
- For Tableau Server, the URL must be reachable from Serval’s egress IPs over HTTPS on port 443.
Need help? Contact support@serval.com for assistance with your Tableau integration.

