Skip to main content

Secrets in chat

Sometimes the agent needs a key (Stripe, OpenAI, email provider, etc.) to finish wiring your app.

Secrets request card

When that happens, Mythex shows a secrets request card in chat: Add secrets card in chat for RESEND_API_KEY
  1. Enter the values in the card fields (not in the message box)
  2. Confirm so they are stored as project secrets
  3. The agent continues with the keys available in the sandbox
This keeps secrets out of the chat transcript compared to pasting them into a prompt.

Also available in settings

You can always add or edit secrets under project settings → Secrets, or use /secrets in chat.

Tips

  • Prefer server-side keys for privileged operations
  • If a key ever appears in chat history, rotate it at the provider
  • After changing secrets for a published app, publish again so the deploy picks them up