Hi there, 30971513.
Before going into detail, please note that each business has a unique setup. That being said, I recommend consulting with an accountant before using any of these solutions.
If you've received the loan funds and they show as income on the Transactions menu, you'd simply mark the transaction as Business.
When tracking its payments, I suggest taking a look at this reference that has the lists of all the available expense categories. I've added this article as your guide: Categories in QuickBooks Self-Employed.
I'll be around if there's anything that I can help. Keep safe!