Add simple connection method to config