Using AWS with Salesforce

Using AWS with Salesforce is one of the best platforms you can use to help leverage Salesforce to reach its maximum potential. No problem can stand in your way when you understand the ins and outs around the technologies inside Amazon Web Services.


For example using S3 buckets to store files too large for Salesforce or to allow for a speedy CDN to allow users around the globe to access or download files faster than what Salesforce can provide.

Lambda functions:

Another powerful service to know about is Lambda functions. These functions hosted within AWS allow you to integrate with API’s sometimes easier than using apex inside Salesforce. For instance if the api doesn’t pass an OAuth token you’ll need to do some extra things that could be unsafe inside Salesforce. Using a Lambda function you could just consume the request from an API Gateway and submit it back to Salesforce using a Rest Resource or directly with NForce or JSForce.

API Gateway: 

In order to pass data into a Lambda function you’ll need to create an API Gateway. Basically an API Gateway generates a URL that you can post parameters, payloads, and variables to in order for the Lambda function to fire while it references the data received in the API Gateway connected to the lambda function.

NForce and JSForce: 

The most common Lambda function uses Node.js as the code that runs when it receives data. You might be asking yourself how would I submit data to Salesforce? You can do this using the many packages created on the node package manager.
For instance if you include NForce or JSForce you can easily create records in Salesforce that includes the data received in the API Gateway.



If the code is still confusing don’t worry. I’ll be making seperate posts with working examples on how to set everything up for the services listed here. This posts main purpose was to get you up to speed on why developers use these technologies and how it can change your orgs development life for the better.


Add Comment