In Illustrator, you can add text to a path. To do this, select the path and click on the Add Text button. The Add Text dialog box will appear. In the text field, type a name for the text and then click on the OK button.