Setup links
A setup link opens Crossblade’s hosted setup page for one company. The person who runs QuickBooks follows it on Windows, and nobody shares a QuickBooks password.
const session = await client.authSessions.create({
publishableKey: process.env.CROSSBLADE_PUBLISHABLE_KEY!,
endUserId: endUser.id,
linkExpiryMins: 30,
redirectUrl: "https://app.example.com/integrations",
});
session.authFlowUrl; // the setup link
session.expiresAt; // when it stops working
The API calls a setup link an auth session. Creating one needs a Read + write key and the project’s publishable key. linkExpiryMins accepts 15 to 10080 minutes (seven days); the default is 30.
Nothing connects in
Web Connector connects out to Crossblade over HTTPS. Your customer opens no ports on their Windows computer.