Skip to main content
Updated Dec 4, 2026

Credentials

What you'll learn
  • What a credential is, and how it differs from a variable
  • How to create one, replace it and see where it is used
  • What happens to a running integration when you replace a credential
  • How to create and replace credentials through MCP and the /v1 API

A credential is a password, token or API key that one of your integrations uses: a channel's bot token, an email or IRC password, a WhatsApp Web proxy password, the Evolution API key, or your own key for an LLM provider, Typebot, a voice or transcription profile, or an Ask an AI model step.

Once saved, a credential's value is never shown or returned again: not in the app, not through the /v1 API, not through MCP. Reading a credential gives its name and when it last changed, and where it is used when you ask for that. AutoTalk decrypts the value only when the integration uses it.

Credentials are not variables. A variable is a value you want to read and use in your automations; its value is visible to whoever can read your variables. Automations can't load credentials: when an automation needs a key, for an HTTP request for example, save it as a variable.

Where to find them​

Open Company > Credentials (owner-only, like Variables). The list shows each credential's name, and a key you typed into a secure request in chat is marked Saved from chat.

Most credentials AutoTalk creates for your integrations (signing tokens, the keys behind your API tokens, notification subscriptions) are not listed at all: they are AutoTalk's to manage. Only a few appear, read-only and marked Created by AutoTalk, such as the tokens of a Twitch bot you connect.

Opening a credential shows its name, where it's used (each place links to the channel, agent or profile that uses it), when it last changed, and Replace. There is no way to show or copy the value.

Creating a credential​

Most credentials are created from the field that uses them. A credential field (a channel's Bot token, an email IMAP password, a profile's API key, and so on) is a picker, not a text box. What you type in it is matched against the names of your saved credentials in your browser, and never sent anywhere to search:

  1. Paste the value into the field. When it matches no saved credential's name, the picker offers Save as credential “…”, last in the list; pick it, or press Enter when it is the only option. AutoTalk saves the value as a credential at once, named after the field and the day (for example IMAP password · Dec 3, 2026, never anything of the value, with (2), (3)… added when a credential with that name is already listed), and selects it. You can rename it in Company > Credentials.
  2. Or type part of a saved credential's name and pick it (Enter picks the first match): the same token can serve several integrations.

The + button beside the field saves what you typed the same way, only when it matches no saved name; otherwise it opens the new credential form, where you fill in a name and a value.

You can also create one in Company > Credentials, with a name of your choice, or through MCP or the API (below). In every case a credential needs a value.

Replacing a credential​

When a password or token changes at the provider, replace it in place: you don't need to pick a new credential in each field that uses it.

  1. Click Replace beside the credential field, or open the credential in Company > Credentials and use Replace.
  2. Type or paste the new value and save.

Everything that uses the credential gets the new value:

Where it is usedWhat happens
IRC server or SASL password, email IMAP or SMTP password, Discord bot tokenThe channel's hosted connection reconnects with the new value
Telegram bot tokenAutoTalk registers the bot's webhook again
WhatsApp Web proxy passwordThe proxy is applied to the session again
Evolution API key, your own LLM or Typebot key, voice and transcription profile keys, an Ask an AI model step's keyUsed from the next call: these are read each time they are used

This applies to channels that are turned on. A published agent uses the credential by reference, so it gets the new value without publishing again. If reconnecting fails, the reason is written to the company's Logs; the new value stays saved.

A Discord token that belongs to a different bot is refused while a channel that uses it is on. To move a channel to another bot, turn the channel off first, then pick a new credential in its Bot token field (see Discord).

Who can replace a credential​

Replacing a credential changes what every place that uses it sends, so it needs the permissions to change each of those places, the same as pointing each field at another credential. Replacing a value is never easier than changing the field itself:

Where the credential is usedPermissions needed to replace it
A channel's field (a bot token, a password, an access token, an API key)Channels (org.channels:admin)
An agent's own LLM key or Typebot tokenAgents and profiles (org.agents:admin)
A voice or transcription profile's keyAgents and profiles (org.agents:admin) and Automation and code (automation:admin)
An Ask an AI model step's keyAutomation and code (automation:admin), plus the permission to change where the step is saved: Agents and profiles in an agent; Create, update and delete records (data:write) in a workflow or a notification's buttons; Channels in a WhatsApp Business channel (the steps of its Flows or template buttons); Send messages (messaging:send) in a message template or a WhatsApp Flow

A step held inside another one, such as the steps of a notification's button in a workflow step, counts as part of the record it is saved in. A credential used in several places needs the permissions of all of them. Otherwise the change is refused with credential_replace_forbidden.

A credential goes to one server​

AutoTalk sends a credential only to the server it was first sent to: an email password to the IMAP and SMTP hosts, an IRC password to the IRC server, a WhatsApp Web proxy password to the proxy, and a Telegram, Evolution, Typebot, LLM or profile key to the address the integration calls. So whoever can edit an integration can't point it at their own server and attach one of your other keys.

  • You change the server (a new IMAP host, IRC server, proxy or API address), and nothing else uses the credential: the integration stops with credential_destination_changed. Replace the credential's value, and from then on it goes to the new server.
  • Something else uses the credential and sends it to another server: it isn't sent to a server set in AutoTalk (credential_destination_shared). Create a new credential for this server.
  • The server address is empty or isn't a valid address: credential_destination_unknown. Fix the address.

Deleting a credential​

A credential that is still in use can't be deleted (credential_in_use): its page shows where it is used. Point those fields at another credential, or clear them, then delete it.

Credentials AutoTalk created for your integrations, and keys saved from a secure request in chat, can't be edited or replaced here (credential_locked). AutoTalk manages them with the integration that uses them.

Credentials and the assistant​

The in-app assistant never asks you to paste a password or token into the chat. When it needs one, it shows a secure card: you type the value into a masked box, it is saved as a credential, and the assistant only learns that it was saved. The assistant can't create or replace a credential's value by itself.

Through MCP and the API​

Credentials are the credentials type, on MCP and on the /v1 API.

WhatPermission
Read (name, where it's used, when it last changed)Read records (data:read)
CreateCreate, update and delete records (data:write)
Replace the valuedata:write, plus the permissions to change every place that uses the credential (which ones)
Deletedata:write. A credential that is still in use is never deleted, whatever your permissions (credential_in_use)

Create a credential, then put its _id in the integration's field:

create_document {"type": "credentials", "data": {"name": "Telegram bot token", "value": "123456:ABC-your-bot-token"}}
create_document {"type": "channels", "data": {"channelType": "telegram", "telegram": {"apiMode": "cloud", "token": "<the credential's _id>"}}}

Replace the value in place:

update_document {"type": "credentials", "id": "<the credential's _id>", "data": {"value": "123456:the-new-token"}}

get_document and query_documents return a credential's name, origin (user, or autotalk for one AutoTalk created), valueSet, locked (true when AutoTalk manages it, so it can't be replaced or renamed) and updatedAt. Never the value.

usedBy (each place that uses it) and usedByCount come back only when a read lists them, for example query_documents with "fields": ["name", "usedBy", "usedByCount"]: finding them means looking through the company's data, so a full read, a list and the answer to a create, update or delete leave them out.

On /v1 the same calls are POST /v1/dynadata/type/credentials/create with {"data": {"name": "…", "value": "…"}}, and POST /v1/dynadata/type/credentials/update with {"filter": {"_id": "…"}, "data": {"value": "…"}}. See the API reference.

A value you pass to an MCP tool stays in that client's conversation. For a real password or token, prefer the field in the app.

Good to know​

  • Credentials and variables are never included in a data export.
  • A credential's name is only a label. Integrations point at a credential by its id, so renaming it changes nothing that uses it.
  • Every value is stored encrypted.