Configure your <Connect /> component with the connector of your choice and the operations scope you’ll need to build your integration.
Morph simplifies third-party authentication with a fully managed system that handles OAuth flows, token management, and scope authorization. Leverage our 100+ open-source connectors to integrate with popular platforms like Salesforce, HubSpot, and more in minutes instead of weeks.
Live Demo
Select a connector below to experience our seamless authentication flow and see
how easy it is to connect third-party services.
SSR component
import { Morph } from "@runmorph/cloud"; import { Connect } from "@runmorph/atoms";// Initialize Morph client with your API credentialsconst morph = new Morph({ publicKey: process.env.MORPH_API_KEY!, secretKey: process.env.MORPH_API_SECRET!,});async function SalesforceConnectButton() {// Generate a secure session token for the <Connect /> component// This token allows your users to authenticate with third-party servicesconst { sessionToken } = await morph.sessions().create({ connectorId: "salesforce", ownerId: "customer-123", // Unique identifier for your customer operations: [ "genericContact::list" ],});// Render the <Connect /> component with the session tokenreturn <Connect sessionToken={sessionToken} />;}export default SalesforceConnectButton;
Once authorized, you can leverage the connection to interact with unified data models or make direct API requests through our proxy.
Server
import { Morph } from "@runmorph/cloud";// Initialize Morph client with your API credentialsconst morph = new Morph({ publicKey: process.env.MORPH_API_KEY!, secretKey: process.env.MORPH_API_SECRET!,});// Load a connectionconst connection = morph.connections({ connectorId: "salesforce", ownerId: "customer-123",});// Access a specific resource modelconst contacts = connection.resources("genericContact");// Create a contactconst { data, error } = await contacts.create({ firstName: "John", lastName: "Doe", email: "john.doe@corp.co",});
List, create, update seamlessly contact, opportunity, ticket and over
30 other unified model across all connectors,
simplifying your integrations with a single codebase.
Bi-direction Synchronization
Real-time bidirectional data synchronization between any connector’s model
(e.g contact) and your own database.