After looking for a long time, I couldn't find a rest api call that would turn on direct integration. There's probably a config-file clobbering way to do it though.