There is a direct bus from San Jose to Nosara. Alternatively, you can drive to Puntarenas and from there take another bus to Nosara. If the bus is too boring for you, you can take a ferry to Cabo Blanco in Puntarenas. And further by bus. In Costa Rica (like everywhere in Central America) progress is slow, so plan a whole day for the route.