only try to initialize the ideal gateway if we have config available