Skip to content

How to access data from enabled integrations in the backend #2

Description

@joncodo

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions