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 creation response includes
generated_secret so the agent can complete the registration form. Later reads require an authorized reveal, such as get_credential, and are recorded for your organization. Rotating with generate: true also returns the new generated password.