Solution Components and Architecture
Backend Server
Performs a couple of roles. It acts as the following:
HubSpot API Middleware
Our backend server acts as a middleware between our EFCX connector’s frontend, and HubSpot’s API endpoints. It performs API calls on behalf of HS users after authenticating them using HubSpot’s OAuth.
Static File Server
Serves our connector’s frontend, in which EFCX is embedded. The connector itself is then embedded into HubSpot’s calling window.
Frontend
The connector’s frontend embeds EFCX inside of it. It also uses HubSpot’s calling-extension SDK to interact with the calling window, while sending API requests to our backend to interact with HubSpot on behalf of the user.