Anchoring the shelves to the legs of the plant stand can be easily done with the jig you see here. It’s custom built the router bit shown in detail ‘a.’
Lay out dado locations along the sides of the legs as you see in main drawing above right. I made the pair of mirrored jigs you see below and employed a dado clean out bit to make the shallow dadoes for the shelves.