Tomato grow in a self watering tree pot on the roof

How to make self watering pot and Tomato grow in this pot on the roof