When running Profound.js on another platform, the instance can be configured to communicate with an instance hosted on IBM i. This allows Connector APIs (such as record file I/O, program calls, etc) to run with a generic user profile. To get started, you'll first need to store the IBM i credentials in a secure form. To do that, run the "store_credentials" command-line utility as shown below. The utility will prompt for the IBM i user, password and output file location.

The file produced by the utility contains the credentials in encrypted form. Please note that the utility does not validate IBM i credentials.

Then, edit the "config.js" file and set the connectorURL to the desired URL, and connectorCredentials to the path of the file produced by the "store_credentials" utility. For example:

After making these changes, the instance will need to be restarted. Any errors (i.e. can't connect to IBM instance, invalid credentials, etc.) will be reported during the server start up process and the instance will not start.