The Elf on the Shelf explains that scout elves get their magic by being named and loved by a child. In the back of each book, families have an opportunity to write their elf's name and the date that they adopted it. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.