Fetching details from the dictionary...

nice to meet you; I'm glad to make your acquaintance; how do you do?
「はじめまして」と言って自己紹介をした。
I said 'nice to meet you' and introduced myself.
新しい同僚に「はじめまして」と挨拶した。
I greeted my new colleague with 'nice to meet you.'
はじめましての挨拶の後、名刺を交換した。
After the 'nice to meet you' greeting, we exchanged business cards.