Do I have to borrow the full $5,000?

No. You can borrow less than $5,000 if you want to, but the maximum amount you can borrow with this loan is $5,000.