Overview
Custom Settings helps you keep track of all the settings used in your functions. In the Developer app, settings are saved configurations that you can reference in functions, similar to variables. Settings can be useful for:
- Reusing common configurations
- Secret variables you want to reference securely
For example, say you need to include an API key in a function. You want to keep it secure, so you don’t want it to be visible within the code. You can save it as a setting, and then reference the setting in the function. The actual value of the setting will be filled in when the function runs.
Requirements
To create settings, you need Create custom settings or Manage custom settings in the Developer app. The Developer profile includes Create custom settings. For more information, see Permissions for the Developer app.