Here are some example pictures of tie-ing tomatoes from above. In this example, the tie is tied directly to the base of the stem on each plant, however it can also be tied to the pot, something sticking out the pot, or something next to the pot like a short stake in the ground.
Tie as gently as possible. As the plant grows it will loosen with it. As the plants grow, they can be gradually twisted around the string.