Skip to content
PraxivaraPraxivaraHelp Center
Websites Automations, functions and API Adding a secret

Adding a secret to your website

Store a key for an outside service under Secrets. Never shown again, and readable only by your backend functions.

Updated Dec 2, 2026 at 9:19 AM ET 1 min read Ask AI about this article
Open Secrets

In the website's dashboard, press Add secret.

Name and value

Name it the way the service does, in capitals and underscores, such as STRIPE_SECRET_KEY. Paste the value exactly as you copied it.

Save

It is never shown again, not even to you. Saving the same name again replaces the value. To check a value, look it up where you got it.

Several at once

Import .env takes the contents of a .env file, pasted or uploaded. Each KEY=value line becomes a secret.

How it is used

Only your backend functions can read a secret, and only the ones written to use it. Page code never can, which is why a feature that needs your key is always a function plus a page that calls it.

Rotating

Save the new value under the same name. It takes effect on the next run.

Never paste a secret into the chat. When the builder needs a key it shows an A key for your website card. Paste the value there, not in a message.
Was this helpful?

Related articles