I think if you have a relatively novel idea, that is quick to try out, then people will naturally share.
After that, I submitted to various AI tool directories. They drove a bit of traffic and helped Google find the product. Then some landing pages I made started to rank and it has snowballed from there.