add direct connection config