Set up db link