# Key

From the Lero API docs: https://lero.studio/docs/en/ai#credenciais. Everything in one file: https://lero.studio/docs/en/llms-full.txt.

Create the key at [app.lero.studio/desenvolvedores](https://app.lero.studio/desenvolvedores?aba=chaves), on the Creator and Dev plans. It shows in full only once.

- Keep the key in an environment variable (`LERO_API_KEY`) or in the MCP config.
- Never paste the key into the prompt, the chat or the code.
- For the agent, create a key just for it, with a monthly credit cap and a short expiry. If it leaks, revoke it in the app.
