# Installing Talend Data Stewardship manually

This procedure contains the steps to manually install Talend Data Stewardship on your machine.

## Before you begin

* Talend Identity and Access Management is installed and running.

* Talend Administration Center is installed and running.

* A Talend Data Stewardship user exists in Talend Administration Center. For more information, see .

* There are no other instance of MongoDB installed on your machine.

## Procedure

1. Download Apache Kafka from https://kafka.apache.org/downloads and install it. For more information on how to install it, see [Apache Kafka documentation](https://kafka.apache.org/quickstart).

   For more information on the supported Apache Kafka version, see [Compatible messaging systems](https://help.qlik.com/talend/en-US/installation-guide-linux/7.3/compatible-messaging-systems).
2. Download a MongoDB instance from https://www.mongodb.com/download-center and install it. For more information on how to install it, see [MongoDB documentation](https://docs.mongodb.com/manual/).

   For more information on the supported MongoDB databases, see [Compatible databases](https://help.qlik.com/talend/en-US/installation-guide-linux/7.3/compatible-databases).

   If you want to secure connections with MongoDB using SSL, MongoDB Enterprise Server has to be manually installed on your machine. For more information, see https://docs.mongodb.com/v4.0/security/.
3. Add mongo to the PATH environment variable.
4. Create the tds database in MongoDB using the following command: use tds.
5. Create the following user for the tds database in MongoDB:
   * Username: tds-user

   * Password: duser

   To do this, you can use the following command:
   ```
   db.createUser( { user: "tds-user", pwd: "duser", roles: [{ role: "readWrite", db: "tds"}]})
   ```
6. Download Apache Tomcat from http://tomcat.apache.org/download-80.cgi and install it. For more information on how to install it, see [Apache Tomcat documentation](http://tomcat.apache.org/tomcat-8.0-doc/index.html).

   For production environments, it is recommended to use a separate Tomcat instance for Talend Data Stewardship.
7. Stop your Tomcat instance if it was automatically started.
8. Unzip the Talend-DataStewardship-VA.B.C.zip to a TDS\_files folder.
9. Remove the contents of the &lt;Tomcat&gt;/webapps/ folder.
10. Create a &lt;Tomcat&gt;/app folder and copy the .war files from TDS\_files.
11. Copy the files contained in TDS\_files/context to &lt;Tomcat&gt;/conf/Catalina/localhost.
12. Copy the configuration file contained in TDS\_files/config to &lt;Tomcat&gt;/conf.