AI BuilderSecurity
Store API keys securely with Secrets in AI Builder
Open a project and go to App menu, then Secrets, to add a key's name and its Test value. Each secret has a separate Test value, used by the preview, and a Live value, used by the published site, so test and production keys stay apart. Add a Live value before you publish; if a secret has a Test value but no Live value, you get a warning. You can also ask the AI to add an integration. When it needs a key, it shows a secure card in the chat where you enter the value, and the value never appears in the conversation. Existing projects that keep keys in a .env file have them moved into Secrets when you open the project. Exporting a project still includes secret values, and duplicating a project copies its secrets.
Learn more Hostinger AI Builder: How to store API keys with Secrets in agentic mode