Connect: import step for your app New

Let users bring their mutual funds. Into your app.

A panel inside your app reads the user's CAS in their browser. Your app receives JSON when they press Share.

  • Nothing to host
  • The PDF reaches no server
  • Counted per share
$ npm install @sachfolio/connect

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

const result = await openImport({
  client: "sc_your_client_id", // from the dashboard
  grant: getGrant, // your server: POST /v1/connect/grants
  container: document.querySelector("#import"),
  scope: "holdings",
  purpose: "To show your funds in Example App",
});
if (result.status === "shared") save(result.payload);

What you get

The whole import, from request to JSON.

Nothing to host

Add your site in the dashboard, one call on your server, one snippet in your page. We serve the panel.

A guided statement request

A user without a statement requests one from CAMS inside the panel. The PDF they pick opens with no password to type.

The user sees what you get

The exact data is shown before Share. Cancel sends nothing.

Name and PAN, when you need them

Ask for them, require them or leave them out. The panel can check the statement against the PAN you hold.

Counted per share

Each share uses one statement from your Business allowance. Reading and cancelling use none.

Only your server can spend it: a share needs a single-use pass that takes your secret key.

Business options

Or host it yourself

The same panel as a static folder on an address of your own. It ships in the package.

Self-hosting steps

How it works

Three steps.

  1. Add your site

    In the Business dashboard, list the addresses allowed to open the panel.

  2. Add one server call and the snippet

    Your server gets a single-use pass with your key. The snippet goes behind your own import button.

  3. Receive JSON

    Funds, units, values and cost as exact decimal text. Transactions if you ask.

See it run with a sample statement

Who receives what

The statement stays in the user's browser.

Your app receives the data the user approved. We receive a count: that a share happened. The PDF and its password reach neither of us.

See how we test privacy

{
  "format": "sachfolio.connect.v1",
  "scope": "holdings",
  "identity": null,
  "panCheck": "match",
  "holdings": [{
    "scheme": "Example Flexi Cap Fund - Direct Plan - Growth",
    "isin": "INF000X01234",
    "units": "150.000",
    "value": { "date": "2026-03-31", "value": "16500.00" },
    "cost": "15000.00",
    "checks": { "passed": 3, "failed": 0, "unavailable": 1 }
  }]
}

Plain limits

What it does today.

The user does every step themselves.

  • Fetching a statementThe user requests it and picks the PDF. We never submit a form, take an OTP or read a mailbox for them.
  • What is sharedMutual fund holdings and transactions. Shares and bonds on a demat statement are not shared yet.
  • Contact detailsEmail, mobile and address are never shared.
  • Mobile appsTested in browsers. Not yet tested inside an Android or iPhone app.

Add the import step to your app.

The Business trial has five statements for 30 days.