---
schema_version: "1"
id: 7a562dd9bc6a642dc012c6c0a2535d61b9992aa8bfa98c9d0021230400f2a7bf
title: Automate Licensing Tasks
collection: tableau
version: current
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/current/en-gb/server-linux/license_automating.md
canonical_url: https://help.tableau.com/current/server-linux/en-gb/license_automating.htm
source_site: help.tableau.com
content_type: documentation
content_hash: af88174ef4087ead0897453f8a69b9fa406a62b55317b5dda9a62d964faac2ae
description: Automate Tableau Server licensing tasks using command line tools and scripts.
---
[Skip to main content](#main-content)

# Automate Licensing Tasks

You can use `[tsm licences](https://help.tableau.com/current/server-linux/en-gb/cli_licenses_tsm.htm)` to perform licensing tasks such as activating or deactivating a Tableau Server product key on- or off-line, and getting associated files for offline activation or deactivation. However, Tableau Server must already be deployed and configured. You can automate these licensing tasks using the [Tableau Services Manager API](http://onlinehelp.tableau.com/v0.0/api/tsm_api/en-gb/index.htm).

`C:\ProgramData\Tableau\Tableau Server\data\tabsvc\logs\`