palette, drag a gateway to the Process Editor canvas.
Drag an activity, such as invoke, either below or above the gateway to automatically link it into a sequence.
If desired, add another activity to the canvas and link the two activities.
For tips on designing with links, see
Adding a Link with a Transition Condition
As desired, add transitions conditions to links, and then select the corresponding Gateway Type from the Properties view.