Once your chocobo is grown and you have the license, talk to the chocobo stable master in your home nation. He will hand you a handkerchief, which you then need to find again during long walks with your chocobo.
You will also want to have built up a strong relationship, or love, with your chocobo, since that bond is key to unlocking the ability to ride it.