Your friend needs to take the following steps:
Log in into DJ.Studio;
Click Buy in the top navigation;
Select the right one-off license;
On the checkout page click "Apply coupon" in the Order summary;
Enter the code which your friend gave you;
Click Apply;
Click the black button to buy.