How do I do the 5X5 program with a smith machine?

So I'm training with the 5X5 program and I need a bench press to do te workouts. Well at my gym we only have smith machines, no bench presses. Can I still make the 5X5 program work only using the smith machine?
How do I do the 5X5 program with a smith machine?
Post Opinion