Autoconnect - setting the ssid and password

I am using Autoconnect which uses WiFiManager. It works fine and picks up the WiFi ssid and password that I enter on the web interface (

Then after that, upon reset, it uses the stored values of ssid/pwd that I entered in the web interface.
All this happens i the setup() routine.

Then I use the WiFiManager code to put up a website (localIP to display results in my project.

I also have the ability to pick up the ssid/pwd using prompts to the user on a circuit display and a select button. I want this ability in case a user doesn't like the web interface for entering ssid/pwd.

What I need to know, is how do I store the ssid/pwd captured this way to mimic what AutoConnect does when it gets these values from the web interface (