Custom gauge clusters?

how do you get a aftermarket speedometer to work with the speed cable?