einen guten Draht haben

Etymology
lit. 'to have a good wire to someone'.

Verb

 * 1)   to be on good terms with someone, to have a connection with someone or something, to be attuned to