Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 584 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 584 Bytes

image_squidhome@2x.png

ForceAdapter

Waterline adapter for Force.com.

Installation

Install from NPM.

$ npm install sails-forcedotcom --save

Sails Configuration

Add the salesforce config to the config/adapters.js file.

Using with Sails v0.9.x

module.exports.adapters = {
  salesforce: {
    module: 'sails-forcedotcom',
    connectionParams: {
      loginUrl: 'http://test.salesforce.com'
    },
    username: '{salesforce username}',
    password: '{salesforce password}' + '{security token}'
  }
}