The settings page can be accessed through the sidebar when clicking on the Custom Code block itself. In the settings, you can add secrets, choose the programming language, and add source code. Secrets and inputs to the Custom Code block can be inserted dynamically to the source code.
Secrets are where you can store any API Keys you need to call your API. Anything stored in secrets is encrypted and will not be shared when spells are published publicly.