connection + base config