add_action( 'admin_menu', 'my_plugin_settings' );
function my_plugin_settings() { ÂÂ
  add_menu_page('my plugin settings', 'my plugin', 'administrator', 'my_plugin_settings', 'plugin_display_settings');
}
function plugin_display_settings()
{
 //menu page related codes
}
code details : "admin_menu" action will add a setting page at the bottom
of your admin dashboard using add_menu_page function.Then plugin_display_settings
function is used to display items and functionality in your created
setting page ;)