---
schema_version: "1"
id: f8b9fa0f14306215e8b1111ea8f4c318ea691df191aadbe148450f2ca0859c7e
title: tsm initialize
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server-linux/cli_initialize_tsm.md
canonical_url: https://help.tableau.com/v0.0/server-linux/en-us/cli_initialize_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 2feb8b74e5cad1f0d5f705a70507f80a1bd0d32b613f0b13ba9832acb6b9a44b
description: Reference for the tsm initialize command to initialize Tableau Server after applying changes.
---
[Skip to main content](#main-content)

# tsm initialize

You can use the `tsm initialize` command to initialize Tableau Server.

**Note:** You must apply or discard pending changes before running `tsm initialize` or the initialize will fail. Apply pending changes using the `[tsm pending-changes apply](https://help.tableau.com/v0.0/server-linux/en-us/cli_pending-changes.htm#pending-changes-apply)` command. Discard any pending changes you do not want to apply using `[tsm pending-changes discard](https://help.tableau.com/v0.0/server-linux/en-us/cli_pending-changes.htm#pending-changes-discard)`.

### Synopsis

`tsm initialize [options] [global options]`

### Options

\-r,--start-server

Optional. Leave the server running after initialization is complete.

## Global options

\-h, --help

Optional.

Show the command help.

\-p, --password <password>

Required, along with `-u` or `--username` if no session is active.

Specify the password for the user specified in `-u` or `--username`.

If the password includes spaces or special characters, enclose it in quotes:

`--password 'my password'`

\-s, --server https://<hostname>:8850

Optional.

Use the specified address for Tableau Services Manager. The URL must start with `https`, include port 8850, and use the server name not the IP address. For example `https://<tsm_hostname>:8850`. If no server is specified, `https://<localhost | dnsname>:8850` is assumed.

\--trust-admin-controller-cert

Optional.

Use this flag to trust the self-signed certificate on the TSM controller. For more information about certificate trust and CLI connections, see [Connecting TSM clients](https://help.tableau.com/v0.0/server-linux/en-us/tsm_overview.htm#Connecti).

\-u, --username <user>

Required if no session is active, along with `-p` or `--password`.

Specify a user account. If you do not include this option, the command is run using credentials you signed in with.