Create test workspace

Hosted setup flow

Create an end-user, create a setup link, and send it to the person who runs QuickBooks. Crossblade’s hosted page walks them through Web Connector on Windows and confirms the company file by itself.

Step 1: Create an end-user

Create one end-user per company file, with a read + write key. Use your own customer or workspace ID as sourceId; it must be unique in the project.

TypeScript
const endUser = await client.endUsers.create({
  companyName: "Blue Sky Distribution",
  sourceId: "customer_842",
  email: "[email protected]",
});
// Store endUser.id with your customer record.

Step 4: Your customer finishes setup on Windows

The hosted page has five steps: Before you start, Download the connection file, Approve access in QuickBooks, Enter the connection password and Connecting. On a Mac or phone it first offers to send the link to the Windows computer. It watches for Web Connector to sign in, then confirms access by reading the company’s details from QuickBooks. That check appears in your request log as SETUP /setup/verify-company.

The customer-facing walkthrough is Connect QuickBooks Desktop to Crossblade. Link to the help center from your own UI as well.

Step 5: Redirect and confirm

After verification, the success screen shows a Return to … button, named after the host of redirectUrl, that links to redirectUrl exactly as you supplied it. Put your own context in that URL. The redirect is navigation only; do not treat it as proof of success.

When the user lands back in your app, confirm with the health check, then start syncing. See Connection status.

TypeScript
await client.qbd.healthCheck({ conductorEndUserId: endUser.id });
// 200: QuickBooks answered. Mark the integration connected.

Step 6: Expiry and re-issuing

  • An expired link cannot be reopened. Create a new setup link for the same end-user. Never create a second end-user for the same company file; that creates a separate connection and a second Web Connector row.
  • Link expiry does not affect a connection that already works. Links are only for setup and repair.
  • A new link for an existing connection lets the customer reinstall the same connection file and see its password again until that link is verified.
  • If the company file moved permanently, replace the connection deliberately after reconciling in-flight work; a new link does not change the pinned file.