Place UCS On Object
The tool prompts to select a object face
Right mouse click to confirm the selected face
then click on 2 points to define the X axis of the UCS