Here are some things to consider:
A policy has to be quoted, accepted, and then bound or issued. Give yourself time for that and ask the agent how long these steps will take.
Some companies need money to bind and some will bill you or get their payment from closing.
Some agents cannot bind the policy and everything has to be sent to the company underwriters to bind.
Most policies require money or the promise of money, inspection of exterior, and a signed application.
This list is not conclusion but does provide some idea of the process. It is always better to start researching as early as possible so you are not put in a position where you are ready to close on your home and the insurance is holding up the finalization of your home purchase.
The Home Insurance Specialists