Abaqus - Rotational Spring between two nodes

Hello everyone , I am trying to connect two beam elements by using one spring , which allows that spring to move in horizontal and rotational DOF ( 1 and 3) . Please advise me on how to define this in Abaqus . I know it is in the Interaction module --> Spring , but I am stuck while assigning DOF after that.

Thanks in advance.

 

Abaqus