Is it possible to use my own Mesh (3D Wire) as a Cable Component?

I saw the use of Cable Component but I don’t know how to attach a cable component to my 3D mesh wire. I want that wire to hang like a cable component does.