Wiring diagram for 12V LED momentary pushbutton by Adafruit

Hello,

I am trying to figure out how to wire the 12V LED Momentary pushbutton with Arduino.

Here is the Link for 12V Momentary pushbutton:

I did found a source how to wire them using 12V source:

But, I am trying to figure out how to wire with arduino.

The description on that page tells you basically everything you need to know.

The LED is completely separate from the switch function.

The small table in the technical details seems to indicate that the red LEDs have Vf = 2.2V and If = 20mA so you just need to calculate the current limiting resistor value based off those.