Solution 1: Create connector credentials.
For applications that will not prompt the user to log in, like for web-services, a set of default credentials can be specified in the Profound.js server's configuration file, and a valid session will attempt to be created from these stored credentials. To specify these credentials you must first use the the store_credentials command line utility to create the encrypted credential file. Then you can use the connectorCredentials configuration setting to specify the location of the encrypted credential file.
|title||Note for Instances of Profound.js installed on a non IBM i platform.|
You can use another configuration setting to specify the URL to an instance of Profound.js that is installed on an IBM i platform. You can find a tutorial for setting up this connection here.