How can I use secrets?

It is unclear to me how can I use secrets functionality. Do I really need to perform all these docker commands? If so, what the Secrets tab is in the web ui for? There is a form for adding some secrets there. I expected it to work because I thought it is the easiest way to add some. But when I added them the drone did not find any of them (tried both $${variable} and $variable syntaxes. Was I wrong and I must add them via command line utility? If so, why is there no handy way of doing this?