> Call `talotrace_start_session` to test an app. Full index: /llms.txt. Errors: /reference/problems.

# Environments, logins and secrets

An environment holds everything a session needs to test one address of your product. Open **Settings**, then **Environments**. Each environment has these tabs.

| Tab           | What it holds                                                                      |
| ------------- | ---------------------------------------------------------------------------------- |
| Applications  | The start address, and the other sites the session may open.                       |
| Personas      | Saved logins: a name, the sign-in fields and which of them are secret.             |
| Variables     | Values, secrets, files and test cards, named so a brief can use them.              |
| Configuration | The name of the environment, its setup and teardown addresses, and other settings. |

You can share an environment with the whole project, or keep a private one for your laptop. Six ready-made briefs help you start.

## Add a login

1. Open the environment and its **Personas** tab.
2. Add a persona and name it, for example "Customer" or "Admin".
3. Enter its sign-in fields and mark the password as secret.

Use a login made for testing, never a real customer's. A secret is sealed when you save it. TaloTrace never reads it back, and agents never see it.

In a brief, name a login by its label and a value as `$NAME`. See [Write a brief](/guides/write-a-brief).

## Secrets never go through the chat

A password, a token, an API key or a one-time code never goes in a brief, a message, an answer or your agent's chat. Add it in the web app, where it is encrypted in your browser. If you paste a secret into a chat anyway, treat it as exposed and change it where it was issued.

Your agent may save a test login you give it, and TaloTrace seals the password on arrival. It never saves other secrets.

## Test cards and inboxes

Keep test cards as secret variables, and name them in the brief, for example `$TEST_CARD`. The session pays with them and never with real money. The agent can also create its own email inboxes, for sign-up and password-reset emails.

## No login yet

If the app has its own sign-up page, TaloTrace can create a fresh test account itself, with a new made-up identity, and read the confirmation email in its own inbox. A captcha still needs you.

## Next

* [Sign-in codes by email and SMS](/guides/sign-in-codes)
* [Setup and teardown endpoints](/guides/setup-and-teardown)
* [Test files](/guides/test-files)