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 the beacon.
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.
The demo file has this account and privilege set to copy from:
mitos and Mitos read-only.
Mitos never writes to your file. This account is how you can be sure.
In FileMaker
Add the Mitos layout to your database
DoneIn this 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
this file and paste them into yours.
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: a name, and which region to run in. Then it builds Mitos in the cloud. 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 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. To make it follow each commit instead,
copy Mitos Beacon from this file, then in your database go to
File > File Options > Script Triggers, check
OnWindowTransaction and choose it.
A sleeping Mitos cannot wake itself, so an hourly sync needs a knock:
copy Mitos Sync and run it from a FileMaker Server schedule.
Mitos runs on Fly.io, in your account. Not ours.
Your index lives on your own server, in a region you choose. 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.