Help Center · Obsidian plugin

The Ledger Obsidian plugin

Get Ledger's enterprise layer inside Obsidian — on Mac, Windows, Linux, or mobile, since Obsidian is already the cross-platform host. Sign in with an access token and you can push/pull your team's org vault, stamp reviews, see a governance report, and publish compliance evidence, all without leaving Obsidian.

Plugin vs browser folder sync: the plugin runs inside Obsidian (any OS, including mobile) and syncs to your team's org cloud vault. The browser folder sync runs in a Chromium browser and syncs Ledger to a folder on disk. Use whichever matches how you work; they interoperate via the same org vault.

What you get

Install

Until it's listed in Obsidian's Community Plugins directory, install it manually:

  1. Get the plugin folder (the obsidian-plugin/ directory from Ledger — it must contain manifest.json and main.js).
  2. Copy it into your vault at <your-vault>/.obsidian/plugins/ledger-enterprise/.
  3. In Obsidian, go to Settings → Community plugins, and if needed turn off Restricted/Safe mode.
  4. Find Ledger — enterprise governance in the installed list and enable it.
  5. Open its settings (Settings → Ledger), paste your access token, and click Verify.

There's no build step — Obsidian loads main.js directly. It works on desktop and mobile (the manifest is not desktop-only).

The access token

Because Obsidian can't run the web app's redirect-based sign-in cleanly, the plugin authenticates with a pasted access token (the standard Obsidian-plugin pattern). The token is a long-lived bearer credential for your DosanjhLabs account.

  1. Get a token from your DosanjhLabs account (the settings screen links to dosanjhlabs.com/ledger/account).
  2. In Settings → Ledger → Access token, paste it (the field is masked).
  3. Click Verify to confirm it works.

Verify (sign in)

Verify checks your token and shows who you are.

The plugin re-verifies quietly on load if a token is present, so your status bar reflects sign-in state automatically.

The commands

All commands live in the Command Palette (Ctrl/Cmd+P, type "Ledger"). There's also a ribbon icon (book) for one-click push.

CommandWhat it does
Sign in (verify access token)Checks your token, shows account + org.
Push vault to org cloudUploads every Markdown note in the vault to the shared org vault. The status bar reports how many notes were pushed. (Also the ribbon icon.)
Pull vault from org cloudDownloads the org vault. Existing notes are updated only if their content differs; missing notes (and their folders) are created. Pull never deletes a local note.
Mark current note reviewed (stamp reviewed_on)Writes today's date into the active note's reviewed_on frontmatter field.
Show governance report (stale / unreviewed notes)Opens a modal listing notes ranked by review status: never reviewed first, then stale, then fresh — with owner and age. Click a row to open that note.
Publish documentation evidenceSends structural signals (paths, titles, type, reviewed_on, counts — never note bodies) to the evidence graph.

Push / Pull org vault — the model

The plugin's sync is a whole-vault push and a non-destructive pull:

Compared with the browser folder sync, the plugin's pull is intentionally simpler and safer (no deletes), and it talks to the cloud org vault rather than to a local folder.

Governance inside Obsidian

Publish evidence

The same compliance evidence the web app emits, from inside Obsidian. It sends structural signals only — for each note, path, title, type, tags, reviewed_on, host; plus page counts and your org name; with secrets: none-stored. Note bodies are never sent.

Settings reference

SettingMeaning
Access tokenYour DosanjhLabs bearer token (masked). Stored only in this vault's plugin data.
Verify sign-inButton to check the token and show your account + org.
API baseThe Keystone API origin (default https://api.dosanjhlabs.com). Change only for self-hosted/staging setups.
Organization nameShown on the org vault and evidence. Defaults to your vault's name.
Review-stale threshold (days)Notes not reviewed within this many days count as stale in the report (default 90).
Auto-sync on editOff by default. When on, pushes the whole vault to the org cloud a few seconds after you stop editing.

Security & privacy of the token

One platform dependency: the plugin needs Keystone to accept pasted personal access tokens as a bearer on the existing /whoami, /store, /evidence, and /billing/entitled endpoints. If Verify reports a 401 even with a fresh token, that capability may not be enabled yet in your environment — see Troubleshooting.

Related topics