Web page tutorial API

I'm wondering if there is any AP/library that will allow creation of a on-page tutorial for a web application.

The idea is to guide a new user of the web application through first steps in using it.

I know this is very much used in games but not so much in web application.

Any suggestion, link or idea is welcomed.