Use the right connection provider