Add custom settings from custom app

I am trying to add custom settings option from app. How can I do that ?

Please elaborate what you are trying to achieve…

If you want to create ‘custom app settings’ similar to ‘system settings’, create it as a new doctype with ‘Is Single’ ticked.