Preconfigure for mongodb before install

I have setup Cockpit to work with mongodb locally. When I try to deploy the app I am unable to install with SQLite. Is there a way to get Cockpit set up to use mongodb before having to install or deploy it?

I don’t know if this info will help anyone, but I will post it here just in case. My web app was deployed on cloud foundry. When I would go to cockpit/install it would tell me /data /cache /tmp & /uploads were not writable. I manually created them after logging into the server using cf ssh. I also created a blank index.html file in each directory. I created /config and config.yaml using vim, copying it exactly from my local instance. Magically, it worked. I now have it working in a dev environment! I realize my setup is very unique, but if anyone is having similar issues I hope this helps.