There are different ways to do it, one way is to set up an account in 'Bank and other accounts' as a liability type account for the loan, and set the balance to the amount owing. You might want to check with your accountant as he might prefer a specific way of recording it, but according to how you created the record of the loan, I believe you can simply record it as a transfer from your business account to the loan account.