Prajvis logoPrajvis
Agents

Your secrets for an agent

Give an agent your own tokens and keys. Each person sets their own secrets, and only that person can see them.

A secret is a name and a value, for example ZENDESK_API_TOKEN. The agent can use the secret on its computer, for example in a script that calls an API.

Each person sets their own secrets for an agent. Your secrets go only to the computer of your own threads with that agent. Other people cannot see your secrets. You cannot read a value again after you save it.

Secrets and shared settings

An agent has two types of values for its computer:

SettingWho sets itWhere the agent can use it
Shared settingsThe owner of the agent, in the Sandbox section of the agent settings.The computer of every thread with the agent. This includes the threads of people that you share the agent with.
Your secretsEach person, for themselves.Only the computer of your own threads with the agent.

Put tokens, keys, and passwords in Your secrets, not in Shared settings. If a secret and a shared setting have the same name, the agent uses the secret.

Add a secret to your agent

  1. Open the agent and select the Settings tab.
  2. In the section list, select Advanced > Sandbox.
  3. Go to Your secrets.
  4. In NAME, enter the name of the secret, for example ZENDESK_API_TOKEN.
  5. In Value, enter the value.
  6. Select Save secret.
The Your secrets list with two secrets, the Replace and delete buttons, and the fields to add a secret

A name can have letters, numbers, and underscores. It cannot start with a number.

Add a secret to an agent that is shared with you

You cannot change the settings of an agent that is shared with you. But you can add your own secrets to it.

  1. In the sidebar, select Agents.
  2. Select Shared with me, then select the agent.
  3. On the agent page, go to Your secrets.
  4. In NAME, enter the name of the secret.
  5. In Value, enter the value.
  6. Select Save secret.
The Your secrets section on the page of a shared agent with one secret

The owner of the agent cannot see your secrets. Your secrets go only to the computer of your own threads with the agent.

Change or delete a secret

  • To change the value, select Replace next to the secret. Enter the new value, then select Save.
  • To delete the secret, select the delete button next to it.

A computer that is already running keeps the old values. The change applies the next time that the computer starts.

Secrets in a shared thread

When you share a thread with Collaborate access, the computer of the thread gets only the secrets that you select in the Share dialog. See The computer in a shared thread.

On this page