Entanglement certification from theory to experiment