| How to create a multi-tenant system | Scroll | 
 How do I create a multi-tenant system?
How do I create a multi-tenant system?
1.Run Therefore⢠Server setup and install the required features.
2.Start the Tenants Manager from the Therefore⢠installation folder e.g. C:\Program Files\Therefore\TheTenantsManager.exe, and enable multi-tenancy.
3.Create the tenants (note that each tenant requires its own Therefore⢠license).
4.Depending on which features were installed, certain ports need to be opened to ensure client connectivity.
| Client Application/Feature | Service | Ports required | Port & protocol config. | 
| Therefore⢠Web Access | Microsoft IIS | 80/443 (http/https) | Via Microsoft IIS. | 
| Therefore⢠client applications & API applications (e.g. Navigator) | Therefore⢠XML Web Service | 8000 (http/https) | |
| Therefore⢠MFP Applications | Therefore⢠MFP Manager Service | 80/443 (http/https) 8091 (socket/secure socket) | 
| 
 | Therefore⢠XML Web Service and Therefore⢠MFP Manager Service require a DCOM connection to the Therefore⢠Server. | 
5.Depending on how you would like to connect to the Tenant certain connectivity settings need to be configured.
•For installed Therefore⢠Client applications the connection settings and "TheXMLServer.exe.config" need to be edited.
| 
 | Connection settings are configured on a client and "TheXMLServer.exe.config" is edited on a server. | 
•For Therefore⢠Web Access it is necessary to add the Tenant to the Default Web Site on the Microsoft IIS Server.
•For Therefore⢠MFP Scan it is necessary to edit the file "TheMFPManager.exe.config".
•For Therefore⢠Mobile App it is necessary to edit the file "TheMobileManager.exe.config".