Skip to main content
Data connectors let you pull rows from a database and index them in Moss with a single ingest() call. Each connector is a self-contained pip package — install only what you need.

How it works

You define a connector (the data source + a mapper function) and call ingest(). The mapper converts each row into a DocumentInfo object you control: choose which column becomes the searchable text and which become filterable metadata.
Use auto_id=True in ingest() when your mapper doesn’t produce a stable primary key and you want Moss to generate UUID document IDs.

SQLite


MongoDB


MySQL / MariaDB


Supabase

The Supabase connector reads rows as dicts via PostgREST. Your table needs at least one stringifiable column for id and one text column for text. All other columns are optional metadata.