Audience:
System/Security AdministratorsSkill Prerequisites:
System Administration and Maintenance
Installation Guide (on-prem)
This page will provide you with a complete technical walkthrough of the installation process for the self-hosted/on-prem version of Plant an App.
If you are using our SaaS offering, you do not need to go through this guide, as everything is hosted and preconfigured on our portal. You can skip directly to the subsequent "Plant an App User Guide" page.
System Requirements
General Requirements
| Requirement | Description |
|---|---|
| Internet access | Required to initially download all product components and to retrieve product updates. |
| Access to our CDN | Necessary to whitelist specific domains and enable TLS Ciphers. Details can be found in the Getting Started / IP Whitelist topic. |
Software Requirements
| Required software | Version/Notes |
|---|---|
| Windows | |
| .NET Framework | 4.7.2 or higher |
| PowerShell | Windows PowerShell 5.1, to run the install script |
| IIS Application Pool | 64-bit, with .NET CLR Version set to v4.0 and Enable 32-Bit Applications set to False. See Application pool and folder permissions. |
| Site folder path | 50 characters or fewer is recommended, for example C:\inetpub\PlantAnApp\. Longer paths can make upgrades fail. See Site folder path length. |
| SQL Server | 2014 or higher Note: in order to improve performance under higher loads, the use of Web Edition/Standard/Enterprise editions of SQL Server are recommended, as the Express edition is limited in terms of maximum resource usage. |
We always recommend using the latest available software versions - Windows Server 2022, SQL Server 2019, .NET Framework 4.8, etc.
The Document Management System on Linux New in 2
The Document Management System on Plant an App 2 also runs on Linux:
| Required software | Version/Notes |
|---|---|
| Linux | Ubuntu Server 22.04 LTS or 24.04 LTS |
| .NET | .NET 10 (LTS) |
| SQL Server | SQL Server 2022 or 2025 on Linux, Standard or Enterprise edition |
See Long-Term Support › Operating Systems. For the installation package and the steps, see Other Setups.
Minimum Hardware Requirements
Note these are minimum requirements that will allow you to run the Plant an App platform. The requirement thresholds are highly project-dependent and will thus vary.
| Hardware | Notes/Details |
|---|---|
| 2CPU's * | Or 2 vCPUs for VMs. * Take into account the note below. |
| 4GB RAM * | * Take into account the note below. |
| 5GB storage space | This is the bare minimum space required to run the application; you should increase this value if the implementation creates files on disk and/or if the performance degrades at higher loads. |
Note: Best Practice for the Production Environment
When deploying on the production environment systems, we recommend the usage of two separate servers:
- the first for storing the application files
- the second for hosting the SQL Database Server
This allows for better segregation and control of the physical resource usage. As such, we recommend using at least 2CPU's and 4GB RAM for each server.
For several web servers and high availability, see Performance, Scalability and High Availability.
Installation Procedure
Plant an App is installed in one step, with the install script that Plant an App sends you: Install.ps1, with its settings file Install.json. You fill in the settings, run the script, and it does the rest:
- Checks that it runs as Administrator, and reads the settings.
- Downloads the Plant an App package for the version you chose.
- Unpacks it into the site folder.
- Adds the site's host name to the server's
hostsfile. - Creates the IIS site and its application pool, and gives the application pool Full Control on the site folder.
- Creates the SQL Server database and the SQL login, with
db_owneron the database. - Writes the connection string to
web.config. - Turns HTTPS redirection on or off, as set.
- Runs the installation and creates the system administrator account.
- Opens Plant an App in the browser.
To run Plant an App in containers instead, see Installation in Containers.
Before You Start
The script installs Plant an App on one server, with SQL Server on the same server. For other setups, see Other Setups.
- Administrator rights on the server.
- Internet access from the server, to download the package (
build.internal.plantanapp.comand the download link it returns). - SQL Server installed and running on the server. The Windows account that runs the script must be able to create databases and logins. If it can't, give the script a SQL login that can, in
DbUserandDbPassword. - IIS with ASP.NET. On Windows Server, the script adds the Web Server (IIS) role if it's missing, but not the ASP.NET features. Install them first, as in IIS roles and features. On Windows 10 or 11, the script turns IIS on.
IIS roles and features
Under “Web Server (IIS)”, make sure you install the following roles and features:

- Web Server
- Common HTTP Features:
- Default Document
- Directory Browsing
- HTTP Errors
- Static Content
- Health and Diagnostics:
- HTTP Logging
- Performance:
- Static Content Compression
- Security:
- Request Filtering
- Application Development:
- .NET Extensibility 3.5
- .NET Extensibility 4.7
- Application Initialization
- ASP.NET 3.5
- ASP.NET 4.7
- ISAPI Extensions
- ISAPI Filters
- Common HTTP Features:
- Management Tools
- IIS Management Console (optional, if you want to access your IIS Plant an App site's management locally)
For clarity, here is an overview of the required roles and features:

For non-Server versions of Windows, please follow this guide. The FTP Server role is not mandatory to run Plant an App, but recommended.
Step 1: Fill In the Settings
Put Install.ps1 and Install.json in the same folder on the server, for example C:\PlantAnAppSetup\, and open Install.json in a text editor. Lines starting with // are comments.
| Setting | What to enter | Example |
|---|---|---|
AppName | The name of the application. It's also the name of the IIS site and application pool. | PlantAnApp |
AppUrl | The address users open, with http:// or without a scheme. {{AppName}} is replaced with the name above. | apps.example.local |
UseHTTPS | true to redirect users to HTTPS, false to allow HTTP. See HTTPS. | true |
Version | The Plant an App version to install. | 1.28 |
Distribution | Which module builds to install: base (the builds released with the version), recommended (the recommended builds) or latest (the latest published builds). | recommended |
Path | The site folder. It must be empty or not exist yet. Keep it short: see Site folder path length. | C:/inetpub/PlantAnApp |
DbServer | The SQL Server instance on this server. | (local) or localhost\SQLEXPRESS |
DbName | The name of the new database. If it exists, it must be empty. | PlantAnApp |
DbUser | The SQL login the application uses. It's created if it doesn't exist. | PlantAnApp_user |
DbPassword | The login's password. Leave it empty to generate one. | (empty) |
SysUserName, SysUserEmail | The system administrator account of Plant an App. | system, admin@example.com |
SysUserPassword | Its password. Leave it empty to generate one. | (empty) |
PauseBeforeInstall | Leave false. | false |
Step 2: Run the Script
-
Open Windows PowerShell with Run as administrator.
-
Go to the folder and run the script:
cd C:\PlantAnAppSetup.\Install.ps1To use a settings file in another place, run
.\Install.ps1 -ConfigPath C:\PlantAnAppSetup\Install.json. If PowerShell blocks the script, runSet-ExecutionPolicy -ExecutionPolicy Bypass -Scope Processfirst, in the same window. -
The script shows each step as it runs, for example
[6/12] Configure IIS (HTTP). The installation itself can take several minutes.
When it's done, the script prints a summary and opens <AppUrl>/Configuration in the browser.
If the script generated passwords, they appear in the summary, together with the database login. Save them in your password manager right away, then close the PowerShell window.
Step 3: Activate Plant an App
On the activation screen, click Activate. You're redirected to https://console.plantanapp.com, where you choose your organization and subscription.

HTTPS
The script creates an HTTP binding only.
- With
UseHTTPSset totrue, users are redirected to HTTPS. Add an HTTPS binding with your certificate to the IIS site, or end HTTPS on a load balancer or reverse proxy in front of the server. - With
UseHTTPSset tofalse, HTTPS redirection is turned off. Use this only for a test server.
See also Data Security.
Host Name
The script adds 127.0.0.1 <host name> to the server's hosts file, so the server can reach the site by its name. Users reach it through your DNS: add a DNS record for the host name that points to the server or the load balancer.
Application pool and folder permissions
The script creates an application pool named after AppName, with .NET CLR Version v4.0 and Managed Pipeline Mode Integrated, and gives its identity Full Control on the site folder. Plant an App runs under this identity and writes to the site folder during installation, upgrades, extension installs and normal operation (for example web.config, App_Data and Portals). If the identity loses this access, upgrades can fail with access-denied errors.
To check the settings, or to fix them on an existing site:
-
Open IIS Manager and select Application Pools.
-
Find the application pool used by your site (by default it has the same name as the site). You can check it by selecting the site and clicking Basic Settings....
-
Make sure the Identity column shows
ApplicationPoolIdentity. If it does not, select the pool, click Advanced Settings..., and set Process Model > Identity toApplicationPoolIdentity. -
While in Advanced Settings..., confirm the following settings under (General):
- .NET CLR Version is
v4.0. - Enable 32-Bit Applications is
False. Plant an App requires a 64-bit application pool and does not run in a 32-bit worker process. - Managed Pipeline Mode is
Integrated.
- .NET CLR Version is
-
To grant Full Control on the site folder again, run this from an elevated Command Prompt or PowerShell console, with your folder and application pool name:
icacls "C:\inetpub\PlantAnApp" /grant "IIS APPPOOL\PlantAnApp:(OI)(CI)F" /T(OI)(CI)Fgrants Full Control that is inherited by files and subfolders, and/Tapplies it to everything already in the folder.
The IIS user identity is separate from the SQL user. Plant an App connects to SQL Server with the SQL login in the connection string in web.config, not with the application pool identity.
Site folder path length
Keep the site folder path short: 50 characters or fewer, for example C:\inetpub\PlantAnApp\. Before an upgrade replaces a file, it saves a backup copy under the site's Install\Temp folder, which adds a long chain of folders on top of the site path. If any backup path exceeds the Windows limit of 259 characters, the upgrade fails with "The system cannot find the path specified" and is rolled back.
Hosting control panels such as Plesk often create long paths (C:\Inetpub\vhosts\<domain>\<subdomain>\). If your site is already in a long path and an upgrade fails this way, contact support.
Other Setups
The script covers a single server with a local SQL Server. Contact Plant an App support for the installation package and the steps for:
- SQL Server on a separate server, as recommended for production. See also Defining the SQL User for the rights the SQL login needs.
- Servers without internet access.
- Several web servers behind a load balancer. After the first server is installed, see Performance, Scalability and High Availability.
- The Document Management System on Linux. See The Document Management System on Linux.
To add more site addresses after the installation, go to Settings > Site Settings > Site Behavior > Site Aliases.
Installation in Containers
Plant an App can also run in Windows Server containers (Windows Server 2022 and 2025), with Docker or Kubernetes, on-premises or in the cloud. The database stays on SQL Server, outside the container.
See Installation in Windows Containers (Docker and Kubernetes).
Revised 11/16/2026