> ## Documentation Index
> Fetch the complete documentation index at: https://www.c1.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up a Salesforce Tableau connector

> C1 provides identity governance and just-in-time provisioning for Salesforce Tableau. Integrate your Salesforce Tableau instance with C1 to run user access reviews (UARs), enable just-in-time access requests, and automatically provision and deprovision access.

## Capabilities

| Resource | Sync | Provision |
| - | - | - |
| Accounts | | |
| Groups | | |
| Sites | | |
| Licenses | | |
| Projects | | |
| Workbooks | | |
| Views | | |

The Tableau connector supports [automatic account provisioning and deprovisioning](https://www.c1.ai/docs/product/admin/account-provisioning.md).

**Notes:**

* Workbooks in a user's Personal Space don't belong to a project, so C1 doesn't sync them or their views.
* C1 syncs membership of the built-in **All Users** group but can't change it, because Tableau doesn't allow that group to be modified through the API.
* C1 doesn't show users with the **Server Administrator** site role as group members.

## Licenses and seats

In Tableau, licensing is role-based: each user's **site role** determines their license tier. There is no separate license object to assign — granting a license means setting the user's site role. The connector surfaces four tiers:

* **Creator** — full authoring, data preparation, and publishing
* **Explorer** — browse, interact, and publish with existing data sources
* **Viewer** — view and interact with published dashboards
* **Unlicensed** — no access to site features

> [!NOTE]
>
> When your Tableau site has per-tier seat capacities configured, C1 tracks the purchased and consumed seat counts for each license tier, so you can review license utilization alongside who holds each tier.

> [!NOTE]
>
> Revoking a license fails if the user belongs to a group with a **Grant role on sign in** minimum site role. Tableau returns `Site role of link user that belongs to license upon login cannot be lower than minimum site role of group`. Remove the user from that group first, then revoke the license.

## Permission inheritance

Tableau uses a permission inheritance model that affects how access is synced and provisioned:

* **Projects with `LockedToProject`**: When a project's content permissions are set to `LockedToProject`, workbooks inside that project inherit the project's permissions and cannot be granted or revoked independently — permissions must be changed at the project level instead.

* **Workbooks with `showTabs=true`**: Views (dashboards) inside these workbooks inherit their permissions from the workbook. View-level permissions cannot be granted or revoked independently — attempting to do so returns a clear error. Use the workbook entitlement instead.

* **Workbooks with `showTabs=false`**: Views have their own independent permission assignments, which can be granted and revoked directly.

* **Permissions granted to a group**: Every member of the group holds the permission, and C1 shows the group as the source of each member's grant.

> [!NOTE]
>
> If a locked project's name contains a comma (`,`) or an ampersand (`&`), C1 doesn't sync the access its workbooks inherit from that project, because Tableau rejects these characters in the filter the connector uses to find them. Rename those projects without commas or ampersands to sync their inherited access.

> [!NOTE]
>
> Revoking a permission from a user who holds it only through a group doesn't remove their access: the next sync shows it again, granted through the group. Revoke the permission from the group, or remove the user from the group.

## Gather Tableau credentials

Configuring the connector requires you to pass in credentials generated in Tableau. Gather these credentials before you move on.

> [!WARNING]
>
> A user with the **Server Administrator** role in Tableau Server or **Site Administrator** in Tableau Cloud must perform this task.

To work with the Tableau APIs, you'll need either an installation of Tableau Server or membership in the [Tableau Developer Program](https://www.tableau.com/developer), which grants you a personal Tableau Cloud sandbox.

### Generate a Personal Access Token

**Step 1**

Sign into Tableau Server or Tableau Cloud.

**Step 2**

In the menu bar at the top of the page, click your profile image or initials and select **My Account Settings** from the menu.

**Step 3**

In the **Personal Access Tokens** area of the page, enter a name for your new token (such as "C1 integration") and then click **Create**.

**Step 4**

Carefully copy and save the newly generated token and its name.

### Locate your server path and site ID

**Step 1**

Locate your server path, which is the base URL for your Tableau server.

**Step 2**

Locate your site ID, which is the value that appears after `/site/` in the full URL for your Tableau instance.

Examples:

For a Tableau Server instance with the URL `http://SampleServer#/site/SecurityTeam/projects`, the server path is `SampleServer` and the site ID is `SecurityTeam`.

For a Tableau Cloud instance with the URL `https://10ay.online.tableau.com#/site/MarketingTeam/workbooks`, the server path is `10ay.online.tableau.com` and the site ID is `MarketingTeam`.

**Done.** Next, move on to the connector configuration instructions.

## Configure the Tableau connector

> [!WARNING]
>
> To complete this task, you'll need:
>
> * The **Connector Administrator** or **Super Administrator** role in C1
> * Access to the set of Tableau credentials generated by following the instructions above

> [tab] Cloud-hosted
>
> **Follow these instructions to use a built-in, no-code connector hosted by C1.**
>
> **Step 1**
>
> In C1, navigate to **Apps** > **Connectors** and click **Add connector**.
>
> **Step 2**
>
> Search for **Tableau** and click **Add**.
>
> **Step 3**
>
> Choose where to add the connector: **Create a new app**, or **Add to an existing app** (then select the app).
>
> If you're creating a new app, choose whether to link it to an application discovered from your identity provider: select **Yes** and pick the IdP application, or **No** to continue with just the connector.
>
> **Step 4**
>
> Set the connector's **Name** and, optionally, a **Description**.
>
> **Step 5**
>
> Click the pencil icon next to **Owners** to choose who can configure and manage this connector.
>
> **Step 6**
>
> Click **Add**. The connector is created and its configuration page opens.
>
> **Step 7**
>
> Find the **Settings** area of the page and click **Edit**.
>
> **Step 8**
>
> Enter the site ID and server path into the **Site ID** and **Server path** fields.
>
> **Step 9**
>
> Enter the name of the personal access token into the **Access token name** field.
>
> **Step 10**
>
> Enter the personal access token value into the **Access token secret** field.
>
> **Step 11**
>
> Click **Save**.
>
> **Step 12**
>
> The connector's label changes to **Syncing**, followed by **Connected**. You can view the logs to ensure that information is syncing.
>
> **Done.** Your Tableau connector is now pulling access data into C1.

> [tab] Self-hosted
>
> **Follow these instructions to use the Tableau connector, hosted and run in your own environment.**
>
> When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with C1, automatically syncing and uploading data at regular intervals. This data is immediately available in the C1 UI for access reviews and access requests.
>
> ### Resources
>
> * [Official download center](https://dist.conductorone.com/ConductorOne/baton-tableau): For stable binaries (Windows/Linux/macOS) and container images.
>
> * [GitHub repository](https://github.com/conductorone/baton-tableau): Access the source code, report issues, or contribute to the project.
>
> ### Step 1: Set up a new Tableau connector
>
> **Step 1**
>
> In C1, navigate to **Apps** > **Connectors** > **Add connector**.
>
> **Step 2**
>
> Search for **Baton** and click **Add**.
>
> **Step 3**
>
> Choose where to add the connector: **Create a new app**, or **Add to an existing app** (then select the app).
>
> If you're creating a new app, choose whether to link it to an application discovered from your identity provider: select **Yes** and pick the IdP application, or **No** to continue with just the connector.
>
> **Step 4**
>
> Set the connector's **Name** and, optionally, a **Description**.
>
> **Step 5**
>
> Click the pencil icon next to **Owners** to choose who can configure and manage this connector.
>
> **Step 6**
>
> Click **Add**. The connector is created and its configuration page opens.
>
> **Step 7**
>
> In the **Settings** area of the page, click **Edit**.
>
> **Step 8**
>
> Click **Rotate** to generate a new Client ID and Secret.
>
> Carefully copy and save these credentials. We'll use them in Step 2.
>
> ### Step 2: Create Kubernetes configuration files
>
> Create two Kubernetes manifest files for your Tableau connector deployment:
>
> #### Secrets configuration
>
> ```yaml theme={"theme":{"light":"css-variables","dark":"css-variables"}}
> # baton-tableau-secrets.yaml
> apiVersion: v1
> kind: Secret
> metadata:
>   name: baton-tableau-secrets
> type: Opaque
> stringData:
>   # C1 credentials
>   BATON_CLIENT_ID: <C1 client ID>
>   BATON_CLIENT_SECRET: <C1 client secret>
>
>   # Tableau credentials
>   BATON_ACCESS_TOKEN_NAME: <Name of the Tableau access token>
>   BATON_ACCESS_TOKEN_SECRET: <Tableau access token>
>   BATON_SERVER_PATH: <Base URL for your Tableau server>
>   BATON_SITE_ID: <Tableau site ID>
>
>   # Optional: override the Tableau API version (default: 3.27)
>   # Only set this if your Tableau Server requires a specific API version.
>   # BATON_API_VERSION: "3.27"
>
>   # Optional: include if you want C1 to provision access using this connector
>   BATON_PROVISIONING: true
> ```
>
> See the connector's README or run `--help` to see all available configuration flags and environment variables.
>
> #### Deployment configuration
>
> ```yaml expandable theme={"theme":{"light":"css-variables","dark":"css-variables"}}
> # baton-tableau.yaml
> apiVersion: apps/v1
> kind: Deployment
> metadata:
>   name: baton-tableau
>   labels:
>     app: baton-tableau
> spec:
>   selector:
>     matchLabels:
>       app: baton-tableau
>   template:
>     metadata:
>       labels:
>         app: baton-tableau
>         baton: true
>         baton-app: tableau
>     spec:
>       containers:
>       - name: baton-tableau
>         image: public.ecr.aws/conductorone/baton-tableau:latest
>         imagePullPolicy: IfNotPresent
>         env:
>         - name: BATON_HOST_ID
>           value: baton-tableau
>         envFrom:
>         - secretRef:
>             name: baton-tableau-secrets
> ```
>
> ### Step 3: Deploy the connector
>
> **Step 1**
>
> Create a namespace in which to run C1 connectors (if desired), then apply the secret config and deployment config files.
>
> **Step 2**
>
> Check that the connector data uploaded correctly. In C1, click **Apps**. On the **Managed apps** tab, locate and click the name of the application you added the Tableau connector to. Tableau data should be found on the **Entitlements** and **Accounts** tabs.
>
> **Done.** Your Tableau connector is now pulling access data into C1.

## Configure IDP-based account provisioning

When provisioning Tableau accounts (Licenses resource type), the connector supports two optional fields in the provisioning mapping that control how new accounts are authenticated:

| Field | Description |
| - | - |
| **IDP Configuration Name** | Name of an IDP configuration defined on your Tableau site (e.g., a SAML provider). When set, new accounts are created using that IDP. Requires Tableau API version ≥ 3.22. |
| **With MFA** | When set to `true`, new accounts are created using Tableau's built-in MFA authentication. Takes precedence over **IDP Configuration Name** if both are set. |

These fields appear in the **provisioning mapping** for the Licenses entitlement in C1 and are not part of the connector's base configuration.

### Behavior reference

| Configuration | Result |
| - | - |
| Neither field set | Account created with Tableau site default authentication |
| **IDP Configuration Name** set, IDP found | Account created with the named IDP |
| **IDP Configuration Name** set, IDP not found | Provisioning fails with an explicit error naming the missing IDP |
| **IDP Configuration Name** set, API version \< 3.22 | Provisioning fails with an explicit error — upgrade your Tableau Server or remove the field |
| **With MFA** = `true` | Account created with Tableau MFA — **IDP Configuration Name** is ignored regardless of API version |

> [!NOTE]
>
> If your Tableau Server uses an API version older than 3.22 and you do not set **IDP Configuration Name**, account provisioning uses the site default authentication without error. The IDP endpoint is only required when you explicitly configure an IDP name.
