Ring GND to ESP32 GND
Ring VIN to ESP32 USB
Ring DIN to ESP32 5
hookup is the same for an LED stick (change code to 8 pixels for the stick)
Here's an example of that lights the LED using pin D5 as the data pin.
For more on controlling neopixel rings, see the CODE module of the Design and Technology curriculum.