Golden visa real estate

If I am trying to get a golden Visa through the purchase of real estate €500000 must the home of be paid for in cash? Or would a mortgage be allowed?

You’ll need to transfer 500k to a bank account in Portugal in order to make the investment.

You need to provide €500,000 in your own capital, but if you purchase a property costing €600,000 you can take out a mortgage of €100,000.