Waterline adapter for Force.com.
Install from NPM.
$ npm install sails-forcedotcom --save
Add the salesforce config to the config/adapters.js
file.
module.exports.adapters = {
salesforce: {
module: 'sails-forcedotcom',
connectionParams: {
loginUrl: 'http://test.salesforce.com'
},
username: '{salesforce username}',
password: '{salesforce password}' + '{security token}'
}
}