Sign in to BitHut

Your projects, their status and secrets, and how to connect your AI.

Continue with Google Continue with GitHub Continue with email

If you are new, BitHut creates your account on the first sign-in.

New to BitHut? Already have an account?

Secrets and settings

Secrets and settings

Most projects need values that are not part of the code: a Telegram bot token, an API key, the address of an API. BitHut keeps them in two different ways. This page explains which is which and why keys never go through the chat.

Two kinds of values

Secrets Build settings
What they are Tokens, passwords, API keys Public values a site needs while it is built
Examples TELEGRAM_BOT_TOKEN, OPENAI_API_KEY VITE_API_URL, NEXT_PUBLIC_SITE_NAME
Who can read them Only the project, while it runs Anyone who opens the site: they are built into its pages
Stored Encrypted. Nobody can read a value back, not even you As plain text, shown in the cabinet
How they are added You paste the value in the cabinet Your AI sets them, with the value
When they take effect A running project restarts with them in a few seconds On the next deploy

In the cabinet, both are on the project’s Keys tab. A secret shows as “saved, hidden”, a build setting as “public setting” with its value.

Keys stay out of the chat

API keys, tokens and passwords are never typed into the chat with your AI. When a project needs one, your AI gives you a link to the cabinet, and you paste the value there. The value goes straight to the project.

Why it matters:

  • A chat is saved. A key written there stays in its history.
  • If the value never passes through the AI, the AI cannot repeat it by mistake in code, logs or another message.
  • BitHut hides the values of the project’s keys in its logs.

If your AI sends BitHut a key value anyway, BitHut does not save it. It answers with the link instead and suggests replacing the key at the service that issued it, because the key was written in the chat.

The site password of a closed site follows the same rule: your AI does not get it. You see it in the project’s Settings.

When a value is missing

Before the build, BitHut reads which keys and build settings the code uses. If one is missing, the deploy stops before the build and names it, and your AI gives you the link to add it.

Pages in this section