Go to the "Custom Fields" section of your campaign editor and click the toggle button next to "Ask for donation designation" to turn it on. You can then enter your designation label (aka how you ask donors what they want their donation to go towards) and your designation values (the possible fields of designation).

Save your donation form and you're all set!