What you need
An agent equipped with an inbox and a token that has the following capabilities:- email:read — to receive and read the verification email
- vault:write — to store the new credential
- vault:use — to retrieve the credential in later sessions
Steps
Chat prompt example
Use this prompt in Claude Code, Codex, or any chat client with Agent Loadout connected:Chat prompt
TypeScript example
coding-agent.ts
Required permissions
The generated password is returned exactly once — from the
create_credential call — so the agent can complete the registration form. After that, only get_credential can read it, and every read is recorded for your organization.