There are two ways you can pay for LMI. Some lenders will allow you to capitalise LMI onto your loan (add the LMI onto your home loan) so it can be paid gradually over time with your mortgage repayments. However, this means that interest will accrue on the LMI, costing you more over time.
The alternative is to pay LMI as an upfront cost, which is generally preferred by lenders.