IDM - Custom DAO integration

Can i have steps need to follow or code snippet for connecting to IDM with any other database

you can change the application.properties of the IDM war file. I’m not sure if this is what you want or you mean to replace or re-implement the itnerface required for the Idm engine to work with a different sorta schema and db