Skip to main content

Tableau Platform Configuration

Configuration of Tableau Server - Version 2018.2 and above#

  1. Click the Start button and select All Programs > Accessories > Command Prompt. Right-click Command Prompt and select Run as administrator.
  2. For disabling the ClickJack protection, enter the command:
    tsm configuration set -k wgserver.clickjack_defense.enabled -v false
  3. For adding the Trusted Hosts, enter the command:
    tsm authentication trusted configure -th <trusted IP address1 or host name1>,<trusted IP address2 or host name2>
  4. For enabling API Access, enter the command:
    tsm configuration set -k api.server.enabled -v true
  5. To save all the above changes, enter the command:
    tsm pending-changes apply

Configuration of Tableau Server - Before Version 2018.2#

  1. Click the Start button and select All Programs > Accessories > Command Prompt. Right-click Command Prompt and select Run as administrator.
  2. To enable the trusted host, run the following commands in the command prompt.
<Tableau Server Installation Location>\Tableau\Tableau Server\<version>\bin
$ tabadmin stop
#<trusted IP addresses or host names> is the name of the Tableau agent Server machine
$ tabadmin set wgserver.trusted_hosts "<trusted IP addresses or host names>"
$ tabadmin config
$ tabadmin start
  1. To disable clickjack protection, change the location folder with the command:

    $ cd "<Tableau Server Installation Location>\Tableau\Tableau Server\<version>\bin"

    Run the following commands, in order:

    $ tabadmin stop
    $ tabadmin set wgserver.clickjack_defense.enabled false
    $ tabadmin config
    $ tabadmin start

✅ Tableau Platform configuration completed.