How to create a Custom Settings?

Search for Custom Settings in your setup, and create new Custom Setting and enter the required information in the fields.

Note: If the setting type is disabled, go to schema settings from setup and enable “Manage list custom settings type”.

Now, create Custom fields under the custom setting definition that we just created.

Now Click on Manage from the custom setting definition to add data.

Now that we have created a List Custom Setting, Let’s see how to access it in your apex.