How to use the Database connector