config, then connect