You need an embassy visa for Costa Rica if you have an Indian passport
Visa options for Costa Rica
Visitor visa
Travellers need a visa to visit Costa Rica for Business or Tourism. A paper or embassy visa is the only visa available for travellers visiting Costa Rica. The visa is typically a stamp or sticker added to the passport. Travellers must obtain this visa from a local embassy, consulate or visa center before travelling.