Start with the name they actually go by
Put the name you would use when calling across the room in the name field. For a friend, that might be a nickname you have used for years. For someone at work, it might be the first name they use with the team rather than the full name on their email signature. The draft puts that name in the chorus. You can open Preview and edit lyrics before generating to see exactly where it appears. When you are making one song for two people who share a birthday, use the preview to check that both names fit naturally in the lines you want repeated.
If a name has a pronunciation that is not obvious from its spelling, try writing how it sounds in the lyrics. A space or a hyphen between syllables can give a useful hint, but it is not a guarantee. Read the chorus aloud, listen for the beat on the name, then check the result with headphones. If the recipient’s name sounds wrong in one version, compare the other available version before changing the spelling. The song title is shown separately from the lyrics; a spelling adjustment inside the chorus does not have to change the way the name is displayed.