One option is to partner with your first customer - they fund the development, with discounted hourly rates, in exchange for you keeping the IP and being allowed to resell it as a product once the initial launch with them is done.
That is easier said than done, though - you need to be developing something difficult enough that their internal staff cannot do it, with enough value that it is worth a line item in their budget, and that does not have existing COTS solutions.