By choosing who to appoint, preparing the document, signing it correctly, and registering it with the Office of the Public Guardian (Scotland).