> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/t/tableau.md).

# Tableau

Tableau is a business intelligence and analytics platform. OctoXLabs reads the users of a Tableau Server or Tableau Cloud site and adds them to the user inventory. It uses Tableau REST API version 3.28.

## Use cases

* List all users of the Tableau site and when they last signed in.

```
Adapters = tableau
```

* Find Tableau users that no identity source knows.

```
Adapters = tableau AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                                           | Port | Protocol |
| ------------------- | --------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Tableau Server or Tableau Cloud (for example 10ax.online.tableau.com) | 443  | HTTPS    |

Port 443 is the default of the Port parameter. The connector uses HTTPS when Is Secure is on, and HTTP otherwise.

### Required permissions

| Scope or role                                   | Permission | Needed for                    |
| ----------------------------------------------- | ---------- | ----------------------------- |
| Server Administrator or Site Administrator role | Read       | Listing all users of the site |

The source instructions state that the user must have the Server Administrator or Site Administrator role to list all users on the site through the REST API.

## Create credentials in Tableau

Use a Tableau user with the Server Administrator or Site Administrator role. Or use a Personal Access Token of such a user and turn on Use Token. In that case, enter the token name as the username and the token secret as the password. The source instructions do not describe how to create the token.

## Connection parameters

| Parameter   | Required | Type     | Default               | Description                                                                                                                           |
| ----------- | -------- | -------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| IP          | Yes      | Text     |                       | IP address or host name of Tableau Server. For Tableau Cloud, use the server URL, for example 10ax.online.tableau.com.                |
| Port        | No       | Integer  | 443                   | Port.                                                                                                                                 |
| Username    | Yes      | Text     |                       | Username of the administrator. With Use Token on, the Personal Access Token name.                                                     |
| Password    | Yes      | Password |                       | Password of the user. With Use Token on, the Personal Access Token secret.                                                            |
| Use Token   | No       | Boolean  | False                 | Sign in with a Personal Access Token instead of a username and password.                                                              |
| Content URL | No       | Text     | (empty, default site) | Content URL of the site. For a named site, enter the name as it appears in the URL, for example mysite for <https://server/t/mysite>. |
| Is Secure   | No       | Boolean  | True                  | Use HTTPS.                                                                                                                            |
| Timeout     | No       | Integer  | 30                    | Seconds to wait for API responses.                                                                                                    |

## Troubleshooting

| Error message                                             | Cause                                         | Fix                                                               |
| --------------------------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------- |
| Invalid auth response: missing credentials or token       | The sign in response has no token.            | Check the credentials, the Use Token setting and the Content URL. |
| Failed to extract access\_token or site\_id from response | The sign in response has no token or site ID. | Check the Content URL of the site.                                |

## Change history

{% hint style="info" %}
Available starting from version 6.6.0.
{% endhint %}
