ThingWorx Flow > Installation and Configuration > Installing ThingWorx Flow > Installing or Upgrading ThingWorx Flow on a Different Machine than ThingWorx Foundation
Installing or Upgrading ThingWorx Flow on a Different Machine than ThingWorx Foundation
Steps
You can install or upgrade ThingWorx Flow on a different machine than ThingWorx Foundation:
Installing ThingWorx Flow on a different machine than ThingWorx Foundation
1. Copy the ThingWorx Foundation platform_settings.json file to the host where you want to install ThingWorx Flow. You need to provide this location of the platform_settings.json file while installing ThingWorx Flow.
2. Install ThingWorx Flow.
For detailed steps on installing ThingWorx Flow, depending on your database, see Installing ThingWorx Flow on PostgreSQL or Installing ThingWorx Flow on Microsoft SQL Server.
3. Complete the post-installation steps.
Upgrading ThingWorx Flow on a different machine than ThingWorx Foundation
1. Follow the steps at Upgrading ThingWorx Flow.
2. Complete the post-upgrade steps.
Post-Installation or Post-Upgrade Steps
1. The password that appears for QueuePassword under the OrchestrationSettings section in the platform-settings.json file is not encrypted. Follow the steps here to encrypt QueuePassword (RabbitMQ password).
As a part of this procedure, you must update the value of QueuePassword to encrypt.queue.password.
If you want to change the encrypted RabbitMQ password, see Updating the RabbitMQ encrypted password.
* 
This step is valid for fresh installations of ThingWorx Flow 9.0.0 and 9.0.1 only, and upgrades from any version.
2. Make sure the RabbitMQ port (default 5672) is open on the ThingWorx Flow server and is accessible from ThingWorx Foundation server (in case ThingWorx Flow and ThingWorx Foundation are installed on different machines.).
3. Copy the updated platform_settings.json file to the ThingWorx Foundation host, and restart ThingWorx Foundation.
5. Save the ThingWorx Flow secret keys in the ThingWorx Foundation KeyStore to establish secure communication between ThingWorx Flow and ThingWorx Foundation. Detailed steps for performing this task are available here.
6. On the ThingWorx Foundation host, run the following command to enable the ThingWorx Foundation port:
firewall-cmd --zone=public --add-port=<ThingWorx_Foundation_Port>/tcp --permanent && firewall-cmd --reload
Was this helpful?