@OpenInt/Connect

@OpenInt/Connect

We’re introducing OpenInt Connect. The simplest way to roll out a fully featured integrations page within your application.

A Connect app can be created directly within our console by simply passing us a user ID. 

This generates a magic link containing all the logic your customers need to connect their integrations to your product. 

You can also embed the magic link directly within your product with the @openInt/connect package in two steps:

Generate a token for the given user Id on the server.

import { initOpenIntSDK } from "@opensdks/sdk-openint";
 const openint = initOpenIntSDK({apiKey: process.env.OPENINT_API_KEY});
 const token = await openint
   .POST("/connect/token", {
     body: { endUserId: "END_USER_ID" },
 })
  1. Pass this token to the client component to render the page.
import { OpenIntConnectEmbed } from "@openint/connect";

export function Embed({ token }: { token: string }) {
 return (
     <OpenIntConnectEmbed
       params={{ token }}
     />
   );
}

We’re excited to see what experiences our customers build with Connect! 🚀

Subscribe to our technical blog for updates on the OpenInt journey