Some actions must never happen in front of the visitor: taking a payment, querying a map service, sending an email. They go through server functions.
What is a server function?
It's your app's back office: the visitor sees the counter, but some operations happen behind, out of reach. These small programs run on Kovos's servers, each in an isolated space.
For you: sensitive operations stay protected. And if your project comes from Lovable with its functions (Supabase format), they also work on Kovos.
Secret keys
To talk to an outside service (payments, maps…), a function needs a secret key: a personal access code, like the key to a safe. In the Database tab, the Server functions and secret keys section:
- lists your project's functions;
- flags the keys your functions expect but that haven't been entered yet: click one, paste its value and click Save;
- lets you delete a key that's no longer needed.
The keys are encrypted (scrambled, unreadable without Kovos's lock) and passed only to your server functions: they are never visible in the browser, nor to the artificial intelligence. Their value is never shown again.
Do you need to deal with it?
Most of the time, no: ask Kovos for what you want (“add online payment”); it creates the necessary functions and tells you which keys to enter. This section is mostly for people importing an existing project or working with a developer.