Overview
- Centrally managed — update a credential in one profile and every action that references it picks up the change automatically.
- Secure storage — sensitive fields (tokens, passwords, client secrets, API key values, and mTLS certificates, private keys and passphrases) are encrypted at rest.
- Four authentication types, plus mTLS — Bearer Token, API Key, Basic Auth, and OAuth 2.0 (Client Credentials), with optional mTLS (client certificate) on top of any of them.
Authentication Types
Under Application Authentication, choose how the platform authenticates each request: Bearer Token, API Key, Basic Auth or OAuth 2.0. None is also available, for a profile that only uses mTLS. You can then add certificate-based Transport Authentication on top — see mTLS (Client Certificate).Bearer Token
Send a static token in theAuthorization header of every request.
Best for APIs that issue long-lived tokens or personal access tokens (e.g. OpenAI, HubSpot private apps).
API Key
Attach one or more key-value pairs to the request via header, query string, or request body.
Use this type when your API expects a named key such as
x-api-key, api_key, or similar.
You can add multiple key-value pairs in a single profile — useful when an API requires more than one credential header.
Basic Auth
Authenticate with a username and password, encoded as a standard HTTP Basic credential.
The platform sends
Authorization: Basic base64(username:password) with each request.
OAuth 2.0 — Client Credentials
For machine-to-machine integrations that use the OAuth 2.0 Client Credentials grant. The platform automatically fetches (and refreshes) an access token before each request.You do not need to manage token refresh yourself. The platform handles the full token lifecycle — request, cache, and refresh — transparently before your API call executes.
The OAuth Token Response dialog shows a real access token. Treat it like a password.
mTLS (Client Certificate)
Some APIs require your side of the connection to prove its identity with a client certificate (mutual TLS), either in addition to a credential in the request or on its own. mTLS is optional and is set separately from the authentication types above. Under Transport Authentication, tick Enable mTLS (Client Cert) to add it to a profile. It works with any Application Authentication type. For a profile that uses only a certificate, choose None under Application Authentication.
Studio won’t save the profile unless the certificate and the private key are in PEM format. The platform presents the certificate on every API request that uses the profile, and still verifies the API server’s own certificate. In the profile list, a profile that uses mTLS shows a label such as mTLS or mTLS + OAuth 2.0.
Managing Profiles
Open Manage → Auth Profiles to view, create, edit, search, and delete profiles.Auth Profiles isn’t in the default sidebar for account users. Add it with Customize sidebar at the foot of the sidebar, or press Cmd/Ctrl+K and search for Auth Profiles to open it. See Navigating Studio.
Create a Profile
- Click New Profile. The Create Auth Profile drawer opens.
- Enter a Profile Name (e.g. “Salesforce Production”).
- Under Application Authentication, choose Bearer Token, API Key, Basic Auth or OAuth 2.0. A new profile starts on Bearer Token. Choose None only for a profile that uses mTLS alone.
- Fill in the required fields for the selected type.
- Optional: under Transport Authentication, tick Enable mTLS (Client Cert) and fill in the certificate fields.
- Click Create.
Edit a Profile
Click the Edit icon next to any profile to update its name, type, or credentials. The drawer is titled Edit Auth Profile, and its button is Save Changes. Secrets you’ve already saved appear masked as********. Leave a masked value as it is to keep what’s stored, or type a new value to replace it.
Delete a Profile
Click the Delete icon next to any profile. The platform will check whether the profile is currently in use:- Not in use — a confirmation dialog appears and you can proceed (click Delete Profile to confirm).
- In use — a dialog headed Authentication Profile In Use shows which Pre-conversation Actions, Post-conversation Actions, and Flow Nodes reference the profile, with the agent each one belongs to. Remove the profile from those locations first, then retry deletion.
Two further refusals exist for profiles whose records are incomplete — one for a profile with no account association on record, and one whose usage records cannot be tied to a specific agent. Both ask you to contact support rather than deleting something the platform cannot reason about.
Using a Profile in Actions
Any API Request configuration — in Pre-conversation, In-conversation, or Post-conversation actions — has an Auth tab, alongside Params, Headers and Body. To use a profile:- Open the request’s Auth tab.
- Tick Use Auth Profile.
- Choose a profile under Auth Profile. Type in Search profiles… to filter the list.
- The platform injects the appropriate credentials at request time.
The Auth Profile list shows at most 100 profiles, and Search profiles… filters only those. If your account has more, delete the ones you no longer use.
Best Practices
- One profile per external service — name profiles after the service they authenticate against (e.g. “Zendesk API”, “Twilio Prod”).
- Rotate credentials in one place — when a token or secret expires, update the profile and all referencing actions inherit the new value.
- Use OAuth 2.0 when available — the automatic token refresh reduces manual maintenance compared to static bearer tokens.
- Audit usage before deletion — the usage summary shows which actions and flow nodes to switch to a different profile first. A profile an agent still uses can’t be deleted.