Making a dolphin your friend in Endless Ocean is a rewarding little process:
Your first dolphin: Play through the opening portion of the storyline to encounter it.
Other dolphins: Pet and gently touch the dolphins as you swim with them. When you return to the boat, Kat may mention that one has taken a liking to you. When you're asked whether you'd like a new partner, choose "Yes," then enter your partner's name.
Have fun exploring the ocean together!