You should use an Indy-based server as described here in documentation:
https://doc.tmssoftware.com/biz/sparkle/guide/server.html#indy-based-server
From that, all the rest is the same as any other Sparkle module, including RemoteDB: create the RemoteDB server module and add it to the Indy dispatcher.