Use new connect api

Authored by mlaurent on Sep 19 2017, 11:54 AM.