# How to connect a NEMA 17 stepper to RAMPS 1.4?

I have an NEMA 17 stepper motor 17HS4401 and a RAMPS 1.4 driver unit.

The motor pinouts are:

RED   A+
BLUE  A-
GREEN B+
BLACK B-


while the RAMPS board has the following:

2B 2A 1A 1B


Could someone point me in the right direction? How can I connect the driver to the motor? I have a feeling I already messed things up.