Im creating a new module for magento 2 that I need to add some configurations inside backend.
How can I do that?
okay - you actually need to create system.xml file inside your custom module to create system conifguration field.
i assume , you already created your custom module if not - magento have very well explained on devdocs how to create custom module with video here is the link - https://devdocs.magento.com/videos/fundamentals/create-a-new-module/
If you wanted to create system configuration as mention above create system.xml file in your custom module and add whatever field you wanted to add , or wanted to modify existing field.
here is the full reference link how to create configuration using custom module
You can also refer this as well - https://www.magestore.com/magento-2-tutorial/3169-2/
Thank you very match for your help.
Im fallowing this tutoprial on the page you passed me:
Now how can I save my values?
will it be here?
Yes , you are correct !! you need to create controller which takes data from that form and stores in your custom table of database.
here is the link , how to save custom form data into table - http://clever-code.com/how-to-save-form-data-to-the-custom-table-in-magento-2/
You can also refer this - https://jutesenthil.wordpress.com/2016/04/06/how-to-insert-data-into-custom-table-in-magento2-part3/
If you found post is helpful to you kindly click on kudos and accept as solution !!