You enter it in the Type column of the transaction you're adding. It defaults to Buy but you can change it: