You con go into edit mode on the surface you are trying to get the profile in, select the edges that have said profile or curve, duplicate them, P to separate the selection and then after they are their own object, right click and convert to curve. That way you have the curve to put the text on without having to fiddle too much.