Know that you will also have to size the chain to your bike. You typically don't just connect the ends together and use the full length of what you bought. You have to remove some links or else your shifting will again be poor or won't even go to the smaller gears on the rear.
There are different procedures for different mfrs and setups. On a typical 2x front you can loop the chain around the largest front and largest rear sprocket without going through the rear DR cage and then count two more links and split the chain there.