Six steps. One on Fly, two on your server, two in FileMaker, one in a terminal.
On Fly
Create a Fly account
DoneMitos runs on Fly, in your account. Skip this if you have one.
On your FileMaker Server
Turn on OData and the Data API
DoneIn the Admin Console, under Connectors, switch on OData and the FileMaker Data API. Mitos reads your records over OData. The Data API is for a later version; switch it on now so nothing needs a second visit.
Create a read-only account for Mitos
DoneIn your file, add a privilege set with view-only records
and only two extended privileges: fmodata and
fmrest. No layouts, no scripts, no value lists. Then add an
account that uses it.
Mitos never writes to your file. This account is how you can be sure.
In FileMaker
Add the Mitos layout to your database
DoneIn the Mitos file, copy the web viewer on the Mitos layout and
paste it onto a layout named Mitos in your database. That
is the whole layout: the search field is inside Mitos itself.
Copy the two scripts into your database
DoneCopy Mitos - Search and Mitos - Go To Record from
the Mitos file and paste them into yours. Keep the names as they are:
Mitos calls Mitos - Go To Record by name.
Mitos - Search opens your Mitos layout and points the web
viewer at Mitos. Its first line holds the Mitos address; you paste it
there after step 6. If your layout has another name, change it in the
one New Window step.
Mitos - Go To Record runs when someone clicks a result. It has one branch per table: the table word, the layout to land on, and the primary key field. Fill in one branch for each table you will search. The table words are listed in Mitos under Settings, Tables, once step 6 is done.
In Terminal
Run the installer
DoneIt asks two things: whether you have a Fly.io account, and what to call your Mitos. It picks a region from your time zone, builds Mitos in the cloud, and keeps a copy of the source in a folder on your machine. Many commands go by; none of them need you.
This is the step that sometimes fights back: it needs Fly's own
command-line tool, flyctl, and installs it if it is
missing. If the install stops, open a new terminal window and paste
the line again.
In Terminal:
curl -fsSL https://navarre.ai/get/mitos | sh
In PowerShell. No WSL needed.
irm https://navarre.ai/get/mitos.ps1 | iex
When it finishes, Mitos opens in your browser and the terminal prints
the address and the password to keep. Paste that address into the first
line of Mitos - Search. Then configure Mitos in the app: the server
and the read-only account, the files, one AI key, the tables, the AI
stages, and Sync.
Mitos updates on every sync: the interval you set in Settings, or the
Sync button. A sleeping Mitos cannot wake itself, so for an hourly sync
make a one-step script: Insert from URL to
https://your-mitos.fly.dev/api/index/sync?key=YOUR_KEY,
method POST, empty body. Run it from a FileMaker Server schedule. It
wakes Mitos and the sync starts.
Mitos runs on Fly.io, in your account. Not ours.
Your index lives on your own server, in a region near you. Nobody here can read it, and there is no service of ours to go out of business.
You will need a Fly account and a payment method. A Mitos instance is one small machine and a 1GB disk, which runs a few dollars a month. A file with millions of records needs a bigger machine; Mitos tells you when.
Setup is one command. Paste it into Terminal, Fly opens your browser to sign in or sign up, and it builds and deploys from there. The only thing installed on your Mac is Fly's own command-line tool.
That is the whole setup. Type a name in the Mitos field, and the record opens.