Info please

I have just moved to San Leandro from Oahu. How do I go about making my bike legal here? I have a brand new mountain bike with proof of purchase, lights, etc. and am over 21.

Mahalo; this is an awesome website.