A gate is a connection point which allows messages to be transmitted into, and out of, interaction fragments. Gates are connected using messages.
1.Insert the gate element into the diagram.
2.Create a new message and drag from the gate to a lifeline, or drag from a lifeline and drop onto a gate. This connects the two elements. The square representing the gate is now smaller.