planar joint

hi dear members

i want to have planar joint between these two bars , how i can do this 

Thank you