Just push it in the end of the handle bar and tighten the hex screw. Here is for sale set of 2 customized bike handle end plugs.
eBay