Prepare to run the Tableau collector
Set up API access, authentication, and permissions before running the collector.
Before you begin
Role required: admin
About this task
The collector uses the Tableau Metadata API to harvest metadata. You must enable the API (for Tableau Server), configure user permissions, and choose an authentication method. Optionally, configure hostname mapping for database aliases.
Procedure
Enable Tableau Metadata API
Enable the Metadata API on Tableau Server to allow metadata collection.
Before you begin
Role required: admin
You must have:
- Tableau Server 2019.3 or later
- Account with Server Admin role in Tableau Server
- REST API enabled (not disabled)
About this task
The Tableau collector uses the Metadata API to harvest metadata from Tableau Server. By default, this API is disabled on Tableau Server and must be enabled using the Tableau Services Manager (TSM) command line interface.
Procedure
Result
The Metadata API is now enabled on Tableau Server and ready for metadata collection.
Configure Tableau user permissions
Create a Tableau user with admin permissions and generate a Personal Access Token.
Before you begin
Role required: admin
You must have permissions to create users and assign roles in Tableau Server or Tableau Cloud.
About this task
The Tableau collector requires a user account with administrative privileges to access and harvest metadata. Create a dedicated user account and generate a Personal Access Token (PAT) for authentication.
Procedure
Configure Tableau JWT authentication
Set up a Connected App in Tableau for JWT authentication
Before you begin
Role required: admin
You must have permissions to create and manage Connected Apps in Tableau.
About this task
Configure a Connected App to use JWT (JSON Web Token) authentication with the Tableau collector. The Connected App provides the client ID, secret ID, and secret value needed to generate JWT tokens.
Procedure
Set up a YAML file for hostnames mapping
Create a YAML file to map database hostname aliases to canonical names.
Before you begin
Role required: admin
About this task
Use a hostname mapping file when you have multiple server names (aliases) for the same database instance and the database collector uses a different alias than the one defined in the Tableau connection. This optional configuration maps database hostnames to canonical names for consistent IRI coining.
Procedure
Result
The collector will use the canonical hostname in place of the original hostname when coining database object IRIs.