Credentials
Store the tokens, API keys and passwords that HTTP request and webhook steps, and AI agent tools, use to sign in to your own systems.
A credential is a secret your flows use to sign in to your own systems, such as a CRM or order system. You store it once under Automation › Credentials and then choose it by name in HTTP request and Send a webhook steps, and in AI agent tools. The secret never appears in the flow itself.
Note: Every role except Billing Administrator can see the list of credentials (never the secrets). Owners, Admins and Marketing Managers can store credentials and replace their secrets.
Kinds of credential
| Kind (How it signs in) | What is sent with each call |
|---|---|
| Bearer token | The token, as a bearer token. |
| API key header | The key, in a header you name (for example X-Api-Key). |
| Username and password | The username and password. |
| API key in a field | The key, as a query parameter or a body field you name (for example key or api_key), for an API that wants its key in the request rather than a header. |
Store a credential
- Go to Automation › Credentials.
- Click Store a credential.
- Enter a Name, so you can recognise it when choosing it in a step (up to 120 characters).
- Choose How it signs in.
- For API key header, enter the Header name: letters, digits and hyphens, starting with a letter or digit. For Username and password, enter the Username. For API key in a field, choose the Placement — Query parameter or Body field — and enter the Field name your API reads the key from, exactly as it expects it (letters, digits and
. _ ~ [ ] -, such askey,api_keyorauth[token]). - Paste the secret into Token, Key or Password (up to 4,096 characters). Click Show secret to check it.
- Click Store credential.
The secret is sent once, stored encrypted and never shown again, here or anywhere else. Afterwards you see only its last four characters, or, for a password, nothing of it.
You can also store a credential from inside a step: in HTTP request or Send a webhook, set Sign in with to A stored credential, then click Store a new credential. It is chosen for that step at once, and your draft is not left.
The list
| Column | What it shows |
|---|---|
| Name | The credential's name. |
| Signs in with | The kind. |
| Secret | "Ends" and the last four characters, or "Password — never shown". |
| Set | When the secret was stored or last replaced. |
Replace a secret
When a token expires or you rotate a key:
- In the credential's row, choose Replace secret.
- Paste the new secret.
- Click Replace secret.
The new secret is used from the moment it is saved, and the old one stops working at once. Every step and tool that uses this credential picks up the new secret automatically.
An API key in a field
The key is added to each call as it is sent: as the last query parameter, or as the last field of a form body (or a top-level key of a JSON body). It never appears in the flow, in a variable, in a test's simulated request or in the run log, where the field shows as [redacted].
A Body field credential needs a body to go in. On a GET or DELETE request, on Send a webhook, or on a JSON body that already has a field of that name, publishing says so: use a Query parameter credential, or change the step.
If a step's form has a field you typed the key into, and a stored credential uses that field name, the step offers Use the saved credential … instead of typing the key here: one click signs in with it and removes the typed key.
For example, an API at https://billing.example.com/api that reads key from a form body: store an API key in a field credential named "Billing key", Placement Body field, Field name key, with your key (here, a placeholder like PLACEHOLDER-KEY-0000). In the step, choose Form (x-www-form-urlencoded) as the Body format, add the other fields, and sign in with "Billing key". See Call an API from a flow.
Use a credential in a step
In HTTP request or Send a webhook:
- Set Sign in with to A stored credential.
- Under Credential, choose it. Each is listed by name and the last four characters of its secret.
Tip: Never put a secret in a step's Headers. Headers are stored in the flow in plain text and anyone who can view the flow can read them. Headers that carry sign-in details, such as Authorization or Cookie, are refused there: use a credential instead.
If a credential is missing or can't be used when a step runs, the step fails with Credential unavailable. In a test, the test run page shows which credential each simulated request would have signed in with.
Related
- Flow steps reference: the HTTP request and Send a webhook steps.
- Call an API from a flow: an HTTP request from start to finish, with a worked example.
- Build an AI agent: tools use the same credentials.
- Inbound webhooks: for your system to call IconEngage instead.
Still need help?
Write to us at [email protected] and tell us what you were trying to do. Already a customer? Sign in to IconEngage — the same articles are under Help in the app.