Getting a Ticket from Tableau Server

After you’ve added trusted IP addresses to Tableau Server, you’re ready to configure your web server to get tickets from Tableau Server via POST requests (step 3 in the diagram).

For code examples that you can use to create the POST request in Java, Ruby, and PHP, see the following:

Here’s the data you can use in a POST request to Tableau Server:

Tableau Server’s response to the POST request will be a unique nine-digit string (the ticket). If Tableau Server isn’t able to process the request, the return will be -1. See Ticket Value of -1 Returned from Tableau Server for tips on how to correct this.

Next, you need to add code that allows the web server to construct an URL for the view that includes the view’s location and the ticket.