Save login credentials in your project so the AI agent can authenticate automatically during test runs. No passwords in test prompts.
You can add multiple credentials per project for different roles (admin, regular user, read-only viewer, etc.). You can also add credentials for Google and GitHub OAuth flows.
If a saved credential is missing or rejected during a run, see Auth Troubleshooting.
Use Custom when your app has an auth flow TesterArmy does not handle directly, such as:
Write clear login instructions for the agent, for example: “Open /staging-login, click the test-only bypass link, enter the access code shown on the page, then continue to the dashboard.”
Custom instructions are encrypted at rest, but they are sent to the AI agent during a run and may appear in run traces and logs. Use the username/password auth method when you need to store reusable login secrets, and never put production credentials in custom instructions.