Enter your code and the Treasure Book opens. From there you pick two items out of the book and they're added to your inventory.
That's the whole process — the code unlocks the book, and the two-item limit is fixed, so choose carefully before you confirm.