When you meet somebody for the first time, you introduce yourself (tell the person who you are).
To introduce yourself, you can just say:
I am Rosie.
My name is Goldie.
Hi! My name is Greengo.
Nice to meet you! I'm Blue-Blue.
Everybody has a name
Some are different, some the same
Some are short, some are long
All are right, none are wrong
My name is .......
Introducing yourself to someone does not mean that you are just telling your name.
You can add other details such as: how old you are, where you are from, what your hobbies are, and so on. Here are some examples.
My name is Momo. I'm nine.
I am Sam from Summeria.
I am Lemonia. I like walking.
I am Monkerix. I am a wizard.