This is going to be a quick crash guide to adding yes/no (boolean) fields or text input fields to the Magento administrative panel. This tutorial will assume that you already have a module ready to add admin fields to.
Since we’re going to be adding a section to the admin panel, we need to give the ability to allow and disallow access to that section. We use Access Control Lists (ACL) for this.
Create a etc/adminhtml.xml in your module and insert this block of XML in there. Replace NAMESPACE with an identifier for your new section. Replace YOUR NEW SECTION with the name of your section that will store your fields.