Creating an index with type mappings with NEST 2

Hi,

What is the easiest way of creating an index with the NEST 2.0 api before adding a document?
I know the type of the class I wish to index.
Any help appreciated.Kind regards
Sean.