Visa for wedding

Hi,
I'm planning to move in Jakarta willing to merry a guy from Indonesia, I'm Italian and I'm finding very difficult to understand how to obtain a visa that last longer than the touristic one.
Before the wedding, I would love to move there for 3 months.
Can someone please help me how to get the ViSA from Italy?
Many thanks
Jahnavi

A sosbud should do the trick and your boyfriend can act as sponsor.
It's valid for two months but can be extended twice without leaving the country.
Marriage on that type of visa is no problem then, if you intend to stay in Indonesia, you can apply for a KITAS that lasts a year.
After two KITAS, you can apply for a five year KITAP.

A Sosbud can be applied for at any Indonesian embassy.

Many thanks my friend!