So here is how I understand this so far.
Objective
As a new Frigg developer, I want to enable salesforce so I am authenticated in order to make requests to the Salesforce API for data that I need.
How this is done currently?
- Create a router for Salesforce
- Create a manager for an integration
- Add the route you want to call from salesforce
- Link that route to the manager method like
processUpdate in backend/src/managers/integrations/SalesforceIntegrationManager.js
- But that method is broken because
findOrCreateCrossbeamReportBoard() seems to not exist
How I propose we do this
Once we are logged into salesforce in the backend of Frigg, we can then make any requests we want to salesforce through a proxy route? If we did not have this, we would need to make custom routes for all routes in the salesforce API?
@seanspeaks I would like you to write out an architecture description for how this is supposed to work. I want this repo to have a working "Get my profile" call for Salesforce and Hubspot as an example.
So here is how I understand this so far.
Objective
As a new Frigg developer, I want to enable salesforce so I am authenticated in order to make requests to the Salesforce API for data that I need.
How this is done currently?
processUpdateinbackend/src/managers/integrations/SalesforceIntegrationManager.jsfindOrCreateCrossbeamReportBoard()seems to not existHow I propose we do this
Once we are logged into salesforce in the backend of Frigg, we can then make any requests we want to salesforce through a proxy route? If we did not have this, we would need to make custom routes for all routes in the salesforce API?
@seanspeaks I would like you to write out an architecture description for how this is supposed to work. I want this repo to have a working "Get my profile" call for Salesforce and Hubspot as an example.