In Illustrator, you can add an outline to an object by selecting the object, pressing the Command key, and then clicking on the Outline button. This will create a dashed line around the object. You can also use this button to change the shape of the outline.