A/D Converter with lgpio library

I am trying to use the ADC pins on the board for an analog input. I am new to this and have found the pin information with “lgpio header 2J3”. When I try to do anything with this pin I get errors saying pin 1 is not GPIO. What is the best way to get the ADC pins as an input?

You don’t need the lgpio tool for SARADC. They can be read directly through sysfs.