Connect the application to an external database