If you’re a tech startup founder, how did you secure funding?

As per the title, looking for insights on how to raise a seed round for commercialisation of a product.