Align along the curve edge/ place rec in point with desired direction

Screenshot 2024-02-07 203818
I’m trying to place an insert box in a specific orientation. I reparametrized the curve, selected a point, and moved it around to the desired location using the graph. However, I want to place the red mark at the base of the rectangle on the exterior face,in all the rectangle