A JavaScript SDK used to integrate applications with the Force.com Canvas framework
JavaScript CSS HTML
Latest commit b0d6f17 Nov 7, 2016 Doug Updating to Winter '17 - v38.0
Failed to load latest commit information.
css Adding comment as disclaimer to CSS file stating it is 'AS IS' May 16, 2013
docs Automated change from Jenkins Jul 15, 2014
js Updating to Winter '17 - v38.0 Nov 7, 2016
LICENSE.txt updating license to 2014 Dec 18, 2013
README.md Updating to Winter '17 - v38.0 Nov 7, 2016
callback.html initial additions Feb 22, 2013



A JavaScript SDK used to integrate applications with the Force.com Canvas framework


Force.com Canvas is a mechanism for consuming third-party applications within Salesforce. Its goal is to connect applications at a UI level instead of just an API level. The purpose of this GitHub repository is to provide third-party applications with a JavaScript SDK so you can easily integrate canvas-style applications into Salesforce, while developing in the technology and platform of your choice.

The best place to get started building canvas applications is the Winter '17 online developer's guide (version 38.0).

Currently, we provide Java and Ruby examples, but you can develop in whatever language you prefer. Most of the integration with Salesforce is through JavaScript and REST. You can also run and test your application locally from your own host, or from Heroku. For a quick example of how to create a Java Canvas application, please see the SalesforceCanvasFrameworkSDK GitHub project

How to clone the SDK repository

git clone git@github.com:forcedotcom/SalesforceCanvasJavascriptSDK.git

How to use the Canvas JavaScript SDK

To use this SDK, simply include the canvas-all.js file in your page.


You can find JSDoc generated documentation for the JavaScript function in the docs directory.