2026-01-24 22:43:04 +05:30
---
title: Obsidian
2026-04-22 00:10:24 +05:30
description: Sync your Obsidian vault with the SurfSense plugin
2026-01-24 22:43:04 +05:30
---
2026-04-22 00:10:24 +05:30
# Obsidian Plugin Setup Guide
2026-01-24 22:43:04 +05:30
2026-04-22 00:10:24 +05:30
SurfSense integrates with Obsidian through the SurfSense Obsidian plugin.
2026-01-24 22:43:04 +05:30
## How it works
2026-04-22 00:10:24 +05:30
The plugin runs inside your Obsidian app and pushes note updates to SurfSense over HTTPS.
This works for cloud and self-hosted deployments, including desktop and mobile clients.
2026-01-24 22:43:04 +05:30
2026-04-22 00:10:24 +05:30
## What gets indexed
2026-01-24 22:43:04 +05:30
| Content Type | Description |
|--------------|-------------|
2026-04-22 00:10:24 +05:30
| Markdown files | Note content (`.md`) |
| Frontmatter | YAML metadata like title, tags, aliases, dates |
| Wiki links | Linked notes (`[[note]]`) |
| Tags | Inline and frontmatter tags |
| Vault metadata | Vault and path metadata used for deep links and sync state |
## Quick start
1. Open **Connectors** in SurfSense and choose **Obsidian**.
2026-04-22 17:34:27 +05:30
2. Install the plugin (recommended via BRAT) using the steps below.
3. In Obsidian, open **Settings → SurfSense**.
2026-04-22 00:24:26 +05:30
4. Paste your SurfSense API token from the user settings section.
5. Paste your Server URL in the plugin setting: either your SurfSense main domain (if `/api/v1` rewrites are enabled) or your direct backend URL.
6. Choose the Search Space in the plugin, then the first sync should run automatically.
2026-04-22 06:38:51 +05:30
7. Confirm the connector appears as **Obsidian - <vault>** in SurfSense.
2026-01-24 22:43:04 +05:30
2026-04-22 17:34:27 +05:30
## Install via BRAT (recommended)
1. In Obsidian, open **Settings → Community plugins** and install **BRAT**.
2. Open BRAT settings and click **Add beta plugin** button.
3. Paste the repository: `https://github.com/modsetter/SurfSense/`.
4. Select the latest plugin version, then enable **SurfSense**.
5. Open **Settings → SurfSense** to finish setup.
If BRAT is unavailable in your environment, use **Open plugin releases** in SurfSense and install manually from GitHub release assets.
2026-04-22 00:24:26 +05:30
## Migrating from the legacy connector
2026-01-24 22:43:04 +05:30
2026-04-22 00:24:26 +05:30
If you previously used the legacy Obsidian connector architecture, migrate to the plugin flow:
2026-01-24 22:43:04 +05:30
2026-04-22 00:24:26 +05:30
1. Delete the old legacy Obsidian connector from SurfSense.
2. Install and configure the SurfSense Obsidian plugin using the quick start above.
2026-04-22 06:38:51 +05:30
3. Run the first plugin sync and verify the new **Obsidian - <vault>** connector is active.
2026-04-22 00:24:26 +05:30
<Callout type="warn">
Deleting the legacy connector also deletes all documents that were indexed by that connector. Always finish and verify plugin sync before deleting the old connector.
</Callout>
2026-01-24 22:43:04 +05:30
## Troubleshooting
2026-04-22 00:10:24 +05:30
**Plugin connects but no files appear**
- Verify the plugin is pointed to the correct Search Space.
- Trigger a manual sync from the plugin settings.
- Confirm your API token is valid and not expired.
2026-01-24 22:43:04 +05:30
2026-04-22 00:24:26 +05:30
**Self-hosted URL issues**
- Use a public or LAN backend URL that your Obsidian device can reach.
- If your instance is behind TLS, ensure the URL/certificate is valid for the device running Obsidian.
2026-04-22 00:10:24 +05:30
**Unauthorized / 401 errors**
- Regenerate and paste a fresh API token from SurfSense.
- Ensure the token belongs to the same account and workspace you are syncing into.
2026-01-24 22:43:04 +05:30
2026-04-22 00:10:24 +05:30
**Cannot reach server URL**
- Check that the backend URL is reachable from the Obsidian device.
- For self-hosted setups, verify firewall and reverse proxy rules.
- Avoid using localhost unless SurfSense and Obsidian run on the same machine.