Not sure what you are dealing with in terms of size and application, so can’t be very helpful. Maybe a photo of the lower end of one of the pole sections; or even better, two of the sections separated and folded over each other, would help. Not even sure if we are talking about rigid trekking pole sizes, or lighter flexible alloy or carbon.
Either way, the shock court runs through the pole sections and is suspended at the ends of the sections, put together, and from your description, you want to know the best way to connect the ends of the cord to the ends of the whole pole.
If so, two short fittings are needed that telescope into the pole ends and have another short and smaller tube that telescopes into the fitting and holds the well-knotted cord in place. When the whole pole is assembled, you may need another fitting at the higher end to connect with the hardware at the upper peak of the tent.
But yes, it is only only takes a knot on the shock cord, which must be strung through the sections, and the fitting, then extended, knotted and strung through the smaller tube fitting on the inner inside of the pole , then allowed to snap gently into place.
There are also inner pole end fittings available with a hole in the inside end that allows one to tie the shock cord to the inner fitting. But that fitting must must fit snugly, or even screwed in place, or may be lost if the cord snaps.
If the shock cord snaps, the pole must be repaired. Many just carry a short tube that fits over the outside of the pole tube, and is taped in place with one of the ten essentials – duct tape. Then at home or on a rest day, the whole length of the cord can be slid into the sections and knotted in place. This is hard to articulate; but simple if you look at a shock -corded pole. Hope this is of some help.