@aytact What board are you trying to connect it to? The reason the cable comes with no connectors is because there is a range of boards, with different connectors, to connect it to. And whatever length of wire we supply, it will be either too long and need to be cut, or too short and need to be lengthened!
Mini 5+ - this has a 2-pin Molex KK connector. Crimp those on the CAN wires. These are supplied with the Mini 5+.
6HC/6XD - these have an RJ11 socket. If you don't have a crimping tool, you can cut a telephone cable/ADSL cable (usually RJ11) and solder the CAN wires to the middle two wire of the RJ11 socket. If you don't have a soldering iron, get some "Heat Shrink solder sleeves" for 24-26AWG to make the connection.
For power, crimp spade connectors on to the ends. See https://docs.duet3d.com/en/How_to_guides/Wiring_your_Duet_3#crimping-the-connectors
Ian