It's difficult to answer this question without some information on the goal of the integration.
You can find out what's already available by looking in the Moodle plugins direcory - https://moodle.org/plugins/
If you want to build your own, a good place to start would be the Salesforce API documentation - https://developer.salesforce.com/page/Salesforce_APIs