I wrote a custom module to do the API cron job. However I included all the API path and access token inside the cron job. I would like to have in admin page for user to store their API path credentials in admin page. Is there any tutorials that I can follow steps to do that? I did google for the solution, however I couldn't find any good example. Please help

1 Answer 1


Yes Its simple create a configuration for your module. etc/adminhtml/system.xml create your configuration whatever you need add the input elements. For retrieving you need to create a helper class. Everything is in the following link.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.