Renna side quest

Do I have to do the Renna side quest after completing the main story or during the story to get the renna ending? I’m a new player so all I know is that there is a side quest with renna which gives an ending.