You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to access data from enabled integrations in the backend #2
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.
I would file this under a concept of "Using Frigg to build integration hooks into your application"... basically, the use case is:
"As an app developer/product manager, I want to provide an interactive experience for my users where they can connect their external accounts, and then use data from or take action on that account from within my application's UI"
A concrete example: https://share.getcloudapp.com/xQuOG9p7 (Annoying thing happening with my monitor delay here, and my audio being mono/tilted to the left ear)
I've got more things to write here, but wanted to start there
Activity
seanspeaks commentedon Feb 16, 2023
@joncodo
I would file this under a concept of "Using Frigg to build integration hooks into your application"... basically, the use case is:
"As an app developer/product manager, I want to provide an interactive experience for my users where they can connect their external accounts, and then use data from or take action on that account from within my application's UI"
A concrete example:
https://share.getcloudapp.com/xQuOG9p7 (Annoying thing happening with my monitor delay here, and my audio being mono/tilted to the left ear)
I've got more things to write here, but wanted to start there