ToolJet can now be deployed at a subpath rather than the root (`/`) of a public domain. Example subpath installation URL: **`http://www.yourcompany.com/apps/tooljet`**
You'll need to setup the following environment variables if ToolJet installation is on a domain subpath:
| variable | value |
| -------- | ---------------------- |
| TOOLJET_HOST | the public URL ( eg: https://www.yourcompany.com ) |
| SUB_PATH | Set a subpath to this variable. The subpath is to be set with trailing `/` and is applicable only when the server is serving the frontend client. ( eg: `/apps/tooljet/` ) |
:::info
See all **[Environment Variables](/docs/setup/env-vars)** here.