Connect: live demo New

Try the import step. Right here.

This page stands in for your app. Use the sample statement and see what your app would receive.

Your app

Ask for

Loading the demo…

What your app heard

  1. Nothing yet.

What your app received

Nothing yet.

// The JSON appears here after Share.

The code

One call opens it.

In your app the call carries your client id and a pass from your server.

import { openImport } from "@sachfolio/connect";

const result = await openImport({
  client: "sc_your_client_id",
  grant: () => passFromYourServer(),
  container: document.querySelector("#import"),
  scope: "holdings",
  purpose: "To show your funds in Example App",
  onEvent: (event) => track(event.type),
});
if (result.status === "shared") save(result.payload);

About this demo

What is real here.

The panel is the one your users would see, served from connect.sachfolio.com.

  • The sample statementInvented. Your app is told so: the data carries "sample": true.
  • Your own statementIt works too. It is read in your browser, and this page sends what it receives nowhere.
  • No pass needed hereThe demo's client opens on this page only and counts nothing. In your app, each share needs a pass from your server.

Add the import step to your app.

The Business trial has five statements for 30 days.