Formal:
* Je m'appelle Bob. (This is the most common and formal way to say it.)
Informal:
* Je suis Bob. (This is more casual and less formal.)
You can also use the full name "Robert" instead of "Bob", but it's less common unless you prefer to be addressed formally.
So, you could say:
* Je m'appelle Robert. (Formal)
* Je suis Robert. (Informal)