Documentation Index
Fetch the complete documentation index at: https://docs.serval.com/llms.txt
Use this file to discover all available pages before exploring further.
About Medallia Agent Connect
Medallia Agent Connect (formerly Stella Connect) is a real-time customer-feedback and coaching platform for contact center agents. Connecting Agent Connect to Serval lets workflows send feedback requests, read response data, and manage users on your tenant’s Agent Connect account without giving workflow authors direct access to the API credentials.What the Medallia Agent Connect integration enables
| Capability | Description |
|---|---|
| Automation workflows | Build workflows that call any endpoint on your tenant’s Agent Connect API host using the Medallia API request action. |
Prerequisites
Before connecting Medallia Agent Connect to Serval, you will need:- Admin access to your Agent Connect account (required to view the Integrations page and retrieve API keys).
- Your Agent Connect API key and API secret for the environment you want to connect.
- Your tenant-scoped API gateway host (e.g.
yoursubdomain.api.stellaconnect.net).
Agent Connect issues separate test and production keys. Each key
corresponds to one environment, so connecting both test and production
requires two Serval integration installs.
Retrieve your Agent Connect credentials
Open the Integrations page in Agent Connect
Sign in to Agent Connect and navigate to Settings → Integrations. The Integrations page lists your tenant’s test and production API keys along with a corresponding API secret for each.
Copy the API key and API secret
Copy the API key and API secret for the environment you want to connect (test or production).
Identify your API gateway host
Agent Connect serves per-tenant endpoints at
{subdomain}.api.stellaconnect.net. The {subdomain} segment matches the subdomain you use to sign into Agent Connect (for example, if you sign in at yoursubdomain.stellaconnect.net, the API host is yoursubdomain.api.stellaconnect.net).Connect Medallia Agent Connect to Serval
Open the Medallia integration in Serval
Navigate to Apps → Available → Medallia Agent Connect → Connect.
Fill in the connection form
Paste the values you captured above:
Click Save.
| Field | Value |
|---|---|
| API Key | From Agent Connect → Settings → Integrations. |
| API Secret | From Agent Connect → Settings → Integrations. |
| API Host | Your tenant-scoped API host, for example yoursubdomain.api.stellaconnect.net. |
How authentication works
Every time a Serval workflow calls Agent Connect, the Serval proxy:- Decrypts your stored API key and API secret. Neither value leaves the proxy — workflow code only sees an opaque integration ID.
- Signs a fresh HMAC-SHA256 JWT with your API secret. The JWT carries a valid
iat(issued-at) claim and a shortexpclaim as defense-in-depth. - Attaches both headers that Agent Connect requires to the outbound request:
Authorization: <JWT>(the raw JWT, with noBearerprefix).x-api-key: <API key>.
- Forwards the signed request to your Agent Connect API host and streams the response back to the workflow.
Rotating credentials
- In Agent Connect, open Settings → Integrations and regenerate the API key or API secret for the environment in question.
- In Serval, open the Medallia Agent Connect integration’s configuration form.
- Paste the new values. Leaving a field blank preserves the previously stored value, so you must paste the new secret explicitly for it to take effect.
- Save.
Troubleshooting
Workflow is hitting the wrong environment. Agent Connect test and
production environments use different credentials and different API hosts. If
a workflow is writing to the wrong place, confirm which environment’s keys and
host are in the Serval install.
External resources
- Agent Connect API authentication reference — JWT claim requirement and header format.
- Agent Connect API overview — endpoint surface across Requests, User Management, and Data Return.
- Requests API sample calls — reference sample calls for feedback requests.

