First instance of getting a bot friend is when you enter the medical pavilion for the first time. Turn left past the vending machine and you will see a bot blocking the door. You have to successfully hack this bot in order to progress. Doing this correctly will also get you the "One successful hack" achievement.
Press
to start hacking the bot. The game explains how the hacking works but essentially you must connect the pipes from one end to another while the liquid is flowing. Once you understand how to move the pipes it is really not that hard.
*IMPORTANT If you did not get your achievement right here, check the progress tracker. If there is no progress for that or any of your audio diaries collected, start a new game. The game might glitch for some people. I have hacked several bots, cameras & vending machines but nothing unlocked or made progress. It was at this point I started a new game, got to here and it unlocked right away.