When you install Tableau Server, you have to activate at least one product key, but we recommend that you activate all Tableau Server licenses found in the Tableau Customer Portal. Doing this activates the server, and specifies the number of license levels you can assign to users. There are also times you may need to activate licenses after Tableau Server is installed, for example, if you add capacity to your server, or get a new product key. If you don't have your product key, you can get it from the Tableau Customer Account Center.

In most cases, you can activate your key directly from Tableau, either during installation, or later, using the Tableau Services Manager (TSM) Licenses page, but there are some circumstances that don't allow you to do this. If your computer is not connected to the internet for example, or has a firewall that restricts access outside your intranet. In these cases you need to do an offline activation.

  • Offline activation when adding a license—To complete an offline activation when you are adding a license to Tableau Server, see Activate Tableau Server Offline - Adding a License.
  • Offline activation of licenses during install—To complete an offline activation when you are installing Tableau Server, follow the steps below.

Offline activation overview and prerequisites

Offline activation of Tableau Server involves the following steps:

  1. Generate an offline activation request file (TableauOfflineActivationRequest.tlq).
  2. Upload the offline activation request to Tableau and download the resulting activation file (activation.tlf) to activate Tableau Server.
Use the TSM web interface

If you are unable to do an activation of your product key from within the TSM Setup UI, you can do an offline activation. This might be necessary if you are installing on a computer that is isolated without internet access. If you attempt to activate your product key and see a dialog that says online activation is unavailable, you can activate the key offline. Click Activate License Offline.

Tableau displays instructions for the activation process.

  1. Create an offline file for each product key you want to activate.

    Create an offline file you will upload to Tableau. If your product key is not pre-filled in the form, enter your key and click Create Offline File to generate an offline file (TableauOfflineActivationRequest.tlq) on the local computer.

    Leave the Tableau Server install program open and copy the TableauOfflineActivationRequest.tlq file to a computer with internet access. You need to upload this file to Tableau to generate an activation file.

  2. Upload and submit the offline file.

    On the computer where you copied the TableauOfflineActivationRequest.tlq file, open a browser and go to http://www.tableau.com/support/activation(Link opens in a new window) to open the Tableau Support Activation page. You will upload and submit the TableauOfflineActivationRequest.tlq file to Tableau. This automatically generates an activation file (activation.tlf) that you can download and copy back to the Tableau Server computer.

    1. On the Offline Activation page, click Choose File to select the TableauOfflineActivationRequest.tlq file.
    2. Click Upload Activation File to submit the file to Tableau.
    3. Click the here link to download the activation.tlf file to your computer.

    4. Copy the activation.tlf file to the computer where Tableau Server is installed.
  3. Upload the activation file.

    On the Tableau Server computer, click Upload Activation File to upload the file to Tableau Server. When you do this successfully, the Activate Product Key button is enabled.

  4. Click Activate Product Key to complete the offline activation and continue with the installation process.

Use the TSM CLI

Log in to Tableau Services Manager

Before you can proceed you must log in to Tableau Services Manager (TSM).

To log in to TSM, run the following command:

tsm login -u <username>

What if I can't log in?

Verify that the account you are using is a member of the Local Administrators group on the Windows computer where you are installing Tableau Server.

Step 1 - Generate an offline activation request file

  1. On the initial node, open a command prompt as administrator.

  2. Type this command to get your offline activation file: 

    tsm licenses get-offline-activation-file -k <product-key> -o <target-directory>

    You can get your product key from the Tableau Customer Portal(Link opens in a new window). The target directory must already exist.

  3. Copy the offline activation file (TableauOfflineActivationRequest.tlq) from the target directory to a computer that has internet access.

Step 2 - Upload the offline activation request to Tableau

  1. On the computer that has internet access, go to the Tableau Product Activations(Link opens in a new window) page.

  2. Complete the instructions to upload your TableauOfflineActivationRequest.tlq file.

    This creates an activation file, activation.tlf.

  3. Download the resulting activation file from Tableau.

Step 3 - Initialize or activate your license

  1. Copy the activation file (activation.tlf) to a location accessible from your Tableau Server computer.

  2. Run the following command: 

    tsm licenses activate -f <path-and-activation-file> 
  3. (Skip this step if you are installing Tableau Server for the first time.) 

    Restart the server for licensing changes to take effect: 

    tsm restart 

To verify that all licenses are activated, you can run this command:

tsm licenses list

If you have completed the steps above, you should see a success message:

Activation successful.

Tableau Server is activated. If you need additional assistance, contact Tableau Technical Support(Link opens in a new window).

 

Thanks for your feedback!