You may want to run your API using something other than Flask or plumber. To
enable this, SherlockML contains the Custom API option. When specifying a
custom API, you simply need to provide an executable (for instance, a shell
script) that runs your API. If you use a shell script, make sure your script
starts the API wit exec to avoid leaving orphaned processes.

Go to the Deployments page for your project in SherlockML and create a new API.
You will be asked to choose a name, a domain name and a type for your API. For
type, choose Custom. Your domain name needs to be unique across all of
SherlockML. I suggest a domain name like cats-vs-dogs-2118, where you
replace 2118 with a random string of your choice.

In the API settings page, leave the working directory as /project, and set
the script to /project/run.sh. From the Environments dropdown, select the
node.js environment we created earlier.

After you have your API set up, you can test and ultimately deploy it. Head to
Test your API to find out how to go about the testing process.