Battle Tree Pokemon Ultra Sun/Ultra Moon

Hi.

can connect in the battle tree with a friend?, How?
i tried connect in a public room but i can’t find the other player