Question
How can I set up nTop Automate for a multidisciplinary design optimization (MDO) platform without hardcoding my password? Using my credentials directly in the MDO project files is a security risk, is not scalable if my password changes, and fails on machines where my credentials aren’t cached. I’m looking for a secure and robust way to manage authentication for automated workflows across multiple users and machines.Applies to
- nTop Automate
- MDO Platforms (e.g., HEEDS, Isight, ModeFrontier)
Answer
The recommended best practice is to use a dedicated, non-personal service account for nTop and store its password securely in a system environment variable. This method separates the secret (password) from the configuration (your MDO project).Step 1: Create a Dedicated nTop Service Account
Create a single nTop user account for running automated jobs (e.g., ntop-automation@your-org.com). You can add a new user using the Org Admin Dashboard (https://app.ntop.com/org/users).- Floating Licenses: The service account can check out a license from your organization’s or team’s license pool.
- Named-User Licenses: You must assign a specific nTop Automate license to this service account.
Step 2: Configure the Execution Machine(s)
This setup must be performed on every computer running the nTop Automate jobs. A. Set the Environment Variable (One-time setup per machine) This command creates a secure, system-wide variable to store the password.- Open Command Prompt as an Administrator.
- Run the following command, replacing the placeholder with your service account’s actual password:
- Restart your Command Prompt session or log out/in for the change to take effect.

- Create a new text file and save it as run_ntop_secure.bat in a shared location.
- Copy the following code into the file, updating the path to ntopcl.exe and the service account email as needed. You can also create the user email as an environment variable.

