Configuring Tableau connections
Tableau connections authenticate with a credentials token returned by the Tableau REST API sign-in operation. You store the token in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.
To configure a Tableau connection:
Sign in to the Tableau REST API to obtain a credentials token. Also obtain your
INSTANCE_HOSTandSITE_IDvalues (see the Tableau API documentation on the Tableau website).In Secrets Manager, create a secret with the key
session_token, and set its value to the credentials token returned by the sign-in operation. If the token expires, sign in again and update the secret.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose Tableau as the data source.
For connection properties, enter your
INSTANCE_HOSTandSITE_IDvalues in the corresponding required fields.For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.