Use common api to configure connection