If the pool is considered a "Storable Pool", then it does not need to be bonded and it must have a double insulated pump. Most above ground pools that are 42" deep or shallower are considered storable.
If the water is deeper than 42", or the pool is installed in a way which prohibits storage, then each individual metal part, ie every panel, must be connected to a #8 copper bonding wire and that wire must run to where the pump is. If the pump is double insulated the bonding wire is connected to ground, otherwise it is connected to the bonding lug on the pump.
Note that some local jurisdictions redefine "Storable Pool" to be much more restrictive so that most above ground pool do need to be bonded. Likewise, a few jurisdictions do not require much of anything, though in that case you are still safest following the code, since someone who was injured at your pool can sue you for failing to follow industry standard practices.