How to authentificate to the rest api ?

please Im in cmdbuild, how can i authentificate to rest API ?