You'll need to ascend and purchase the required skill to send and receive gift codes. (If the option isn't available as described below, you haven't done this yet)
Once you have, click options in the top left corner. The send gift option is on the top right side of the options menu. Copy the code that is generated into a text document.
You'll have to wait one hour to redeem your code and get the achievement.