Orientation of shapes while extruding

I prepared shapes for an extrusion along a path, and when I choose the bevel shape in the path parameters, the shape is not rotated correctly. How can I rotate it 90° so that it is horizontal?


I found I could rotate the Path if it is 3d. That suits me.