Set up Retently in Metorial for Claude, ChatGPT and Cursor
Share Retently with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 18 tools (10 read-only).
To give your team Retently in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Retently integration in a Metorial portal, and each person signs in to Retently with their own account. Agents can manage customer experience surveys including NPS, CSAT, CES, and 5-Star metrics. The integration has 18 tools, 10 read-only, 5 write and 3 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Retently in a portal and how each person connects
- The 1 OAuth scope Retently can request, and what each one allows
- How to keep the 10 read-only tools and reject the other 8
Before you start
- A portal with at least one access group
- An account with Retently for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | apiKey |
| OAuth (default) | OAuth | Signs in to Retently |
The portal and metorial setup use OAuth unless someone picks another method.
API Key
To connect, a person enters:
apiKey: Retently API key from Settings > API > Tokens
OAuth
People sign in to Retently and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
full_access | Full Access | Read and write access to contacts and workflows |
Use your own Retently OAuth app
With your own OAuth app, people see your company's name on the Retently consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Retently and copy the Redirect URI.
Register the app with Retently
Create an OAuth app or client in Retently and add the redirect URI from Metorial as its redirect or callback URL.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Retently integration.
Admin: share Retently in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Retently. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Retently as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Retently.
Choose who gets it
Add the access groups that should see Retently. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Retently integration. Once it exists, check which groups have it:
Employee: connect Retently
In the portal
Open Retently in the catalog
Sign in to your portal and open Retently. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Retently sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Retently connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 10 read-only tools, such as get_score and get_outbox, and lose the 5 write tools, such as send_survey or import_feedback, and the 3 destructive tools, such as manage_customers or manage_suppressions.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 18 tools, minus any you rejected. get_score needs metric, so replace the placeholders. It retrieves the latest overall score for a specific survey metric (NPS, CSAT, CES, or 5-Star) across your account.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (10)
get_customers: Retrieve customers from Retently.get_campaigns: Retrieve all survey campaigns and optionally all survey templates.get_reports: Retrieve campaign reports with trend data, delivery statistics, and additional rating question stats.get_feedback: Retrieve survey responses and feedback from Retently.get_trends: Retrieve trend groups and detailed trend data.get_score: Retrieve the latest overall score for a specific survey metric (NPS, CSAT, CES, or 5-Star) across your account. Needsmetric.get_outbox: Retrieve sent surveys from the outbox with delivery status and recipient details.get_companies: Retrieve company information from Retently.get_templates: List survey templates or retrieve a template by ID, including its survey questions and stable question UUIDs.get_account_status: Identify the authenticated Retently account and retrieve its current plan, survey credit balance, and usage counters.
Write tools (5)
annotate_feedback: Add topics and/or tags to a survey response. NeedsresponseId.send_survey: Send a transactional survey (NPS, CSAT, CES, or 5-Star) to one or more customers via a specified campaign. NeedscampaignIdandrecipients.sync_customer_attributes: Queue a refresh of customer profile snapshots on existing feedback and outbox records after updating customers.import_feedback: Import historical survey scores and comments into a campaign without sending surveys.resubscribe_customers: Resubscribe customers previously unsubscribed by the account owner.
Destructive tools (3)
manage_suppressions: Manage the suppression list to block specific email addresses or domain patterns from receiving surveys. Needsaction.unsubscribe_customers: Unsubscribe one or more customers from receiving future surveys. Needsemails.manage_customers: Create, update, or delete customers in Retently. Needsactionandcustomers.
Triggers
Retently has 2 triggers, which fire on events in Retently:
survey_events: Receives webhook events from Retently including new survey responses, score updates, customer unsubscribes, and bounced surveys.new_feedback: [Polling fallback] Polls for new survey responses.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Retently there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Retently on metorial.com: the integration overview