When I first confine a young / new bird the first thing it to tame it. It is isolated from other birds that are flighty. Then I begin feeding it small amounts of a treat by approaching pen or tie cord perimeter and placing treat on ground then walking away slowly. Initially do not look directly at bird. It does not take long for the average bird to figure out you are not only not a threat, you are safe enough to approach. Ideally you get bird to not only approach you but also eat from your hand. I like to do this in a small pen that is elevated at chest level where the pen in an area with subdued light. Start process on a Saturday morning. Once bird begins to feed with you in close proximity, then start briefly touching him with the back of your hand. You want to get him so he allows you to push his side without getting upset. Then work on picking him up. Once the picking up part realized then affix him to the tie cord. There will be some backsliding as he will get skittish with new arrangement so you restart the use of treats again getting him to approach you. Be careful not to startle or otherwise treat roughly as that can set stage for aggression against you later.