Controlling a Stepper Motor with a A4988 Stepper Motor Driver Carrier

I am currently working with an Arduino Uno. I am very new to coding and I am having a lot of trouble, more or less I don't even know where to start. Most tutorials I watch regarding this subject are done with 4 outputs from the Arduino. I can only use 2 one for my direction and one for my pulse. I dont know if the stepper library would be useful or not. I also have to set a frequency and ratio for my pulses. This is my first major project for my new job. I really need help.

This link is the very first hit (of over 200,000) that turned up with a search for "arduino a4988 stepper".

Have a look at this simple stepper code and at stepper motor basics

The Pololu A4988 webpage shows clearly how to connect an A4988