Skip to content

Connect sources and import documents

Connect an external corpus when it should stay in its original system. Import a document when you want Signet to retain an original and index its content.

Terminal window
signet dashboard

On Home, expand Sources, then choose Connect a source. The Add a source dialog groups Files, Web page, and Agent transcripts under Import, and Obsidian, GitHub, Notion, and Discord under Connect.

The Add a source dialog with Files selected, showing the file chooser and duplicate policy The Add a source dialog with Files selected, showing the file chooser and duplicate policy
  1. Select a connector in Add a source.
  2. Fill in its required fields. Name is optional.
  3. Choose Connect & index.
  4. Expand the source’s row on Home to inspect its index job and diagnostics.

The forms accept:

  • Obsidian: an absolute Vault path on the daemon’s machine. You can type the path or try Browse folders.
  • GitHub: a Repository in owner/repo or owner/* form, and an optional Token secret.
  • Notion: a Token secret for an internal integration. Share the pages you want indexed with that integration.
  • Discord: a 17–20 digit Guild ID and a required Token secret.

Enter secret names, not raw tokens. Store the credential first, for example:

Terminal window
signet secret put GITHUB_TOKEN

The form submits only the target, optional name, and applicable secret reference. It does not expose connector filters or item limits. See Sources and Documents and sources API for configuration beyond these forms.

A successful connection queues indexing; it does not mean indexing has finished. The source row can show queued…, a running percentage and path, indexed N, or error. Check diagnostics as well as job progress.

  1. Open Connect a source and select Files.
  2. Choose Choose one or more files for a browser upload, or Choose from desktop for local filesystem paths.
  3. Select a policy under If a content hash already exists.
  4. Choose Import & index.
  5. Read the per-file results. Use Retry failed imports when available.

Browser uploads send bytes to POST /api/sources/import. Filesystem-path imports require an admin-authorized loopback connection; the paths refer to the daemon’s machine. For a remote daemon, use browser uploads.

The browser file chooser lists .txt, .md, .markdown, .json, .html, .htm, .csv, .doc, .docx, .docm, .odt, .rtf, .pdf, .ppt, .pptx, .ppsx, .odp, .epub, .xls, .xlsx, .xlsm, and .ods. The document import API also accepts .text. Office, PDF, and e-book conversion can fail; read the per-file error rather than assuming every selected file was indexed.

  • At most 25 files per request.
  • At most 25 MiB per file.
  • At most 100 MiB of file bytes per batch. Normalized representations also have size limits.

Too many files or an oversized batch rejects the request with HTTP 413. Empty, unsupported, malformed, or individually oversized files can fail separately. A mixed result returns HTTP 207 with per-file outcomes.

Signet retains admitted original bytes under the workspace’s managed import storage, normally data/imports/. It indexes normalized representations in the database. Admission is not proof of successful conversion or indexing.

The document importer compares normalized content hashes within the owning agent’s imported sources:

  • Skip duplicate (skip, the default): when the matching import has been indexed before and its stored outcome is available, reuse that source record and report the file as a duplicate without indexing it again. Check that source’s index status if an earlier import did not finish cleanly.
  • Replace and re-index (replace): index a new source, then mark the matching old import unsupported and remove its configuration.
  • Import as a new source (reimport): create a separate imported source.

There is an earlier admission check: identical bytes with the same filename reuse the admission record. If that record is already imported or duplicate, the request returns it before applying the selected duplicate policy. Changing the menu alone therefore does not force a second import of that exact upload.

  • Select Web page, enter a public HTTP or HTTPS URL, and choose Add & index. The connection queues a source index job.
  • Select Agent transcripts, choose Signet export JSONL files, select the Target agent, and choose Import & index. The dialog creates a job, uploads the files, and requests that the job start. A job ID is not a completed import.

JSONL transcript files use /api/sources/imports, not the document-upload route. The document limits and duplicate behavior above describe Files, not the transcript job API.

Expand a source row to see its root, artifact/chunk/indexed counts, last index time, and job progress. Home polls sources every 30 seconds and refreshes after successful source actions.

  • Re-index resubmits an Obsidian, web, GitHub, Notion, or Discord source. Imported documents are not supported by this dashboard action.
  • Snapshot downloads a JSON source snapshot. It is not a full workspace backup.
  • Remove asks for confirmation and requests source removal. The daemon can report pending deletion or cleanup, so a request is not always a completed purge.

For endpoint-level diagnostics, use GET /api/sources and GET /api/sources/:sourceId/health. See the API reference for authentication and response details.

If a native picker is unavailable, upload through the browser or type the vault path. If the daemon is unreachable, follow Operate your installation.

Previous: Set up Signet. Next: Connect a harness.