I don't know if anyone had to teach the bird to do that. I recall one in a bird store in Napa, years ago, that did the same thing...unless, of course, it was the same bird

.
I had a conure once that loved grapes. I held a grape in front of him and had it follow it up a ladder, along a foot long perch with a bell at the end. Then I would ring the bell with my finger and give him the grape. Did this a few times and as soon as he saw me with a grape, he would do this himself and I would give him his treat.