If the instances have pins or the selected nets have top-level pins, you can use the auto-generation feature to create ports that you can later review and adjust according to your specifications.
If you want full control on the placement of the ports and their edges, you can choose to create ports manually. Options for port configuration change depending on the simulator.
For more details, see:
