function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Christian MalpeliChristian Malpeli 

How do I integrate my app into salesforce

Hello,

I'm trying to understand the best way to integrate our 3rd party app with Saleforce.com.  We have what I imagine is a pretty common scenario: We have clients who use our app, who would like to sync certain pieces of our app with their Salesforce instance.

What I am trying to really understand is the best way to handle this.  We are a Ruby on Rails platform.  The REST API looks great and makes perfect sense - however when looking into OAuth, there is a requirement for Client Keys:

https://github.com/realdoug/omniauth-salesforce
 
use OmniAuth::Builder do
    provider :salesforce, ENV['SALESFORCE_KEY'], ENV['SALESFORCE_SECRET']
 end

If we are a multi tenant app, do we need to first create some sort of Master account where we get our own credentials/consumer keys, and then have our clients connect to their Salesforce instances using Oauth?

Essentially we'd like to do something like this: https://help.getfeedback.com/customer/portal/articles/1437223

I hope this question makes sense - thanks!

 
Andrew EchevarriaAndrew Echevarria
Have you tried using the built-in OAuth 2.0 capabilities?

This documentation may help or at least help you point out what you need in addition to the provided capabilities:
https://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com