MetorialDocs

Set up Zylvie in Metorial for Claude, ChatGPT and Cursor

Share Zylvie with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 14 tools (5 read-only).

To give your team Zylvie in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Zylvie integration in a Metorial portal, and each person connects with an API key. Agents can manage digital products, discount coupons, per-email coupon eligibility, software license keys, and subscription verification. The integration has 14 tools, 5 read-only, 6 write and 3 destructive, plus 5 triggers.

What you'll learn

  • How an admin shares Zylvie in a portal and how each person connects
  • What Zylvie asks for when you connect, and where to find it
  • How to keep the 5 read-only tools and reject the other 9

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Your Zylvie API key, found under Settings > API in your Zylvie dashboard

Admin: share Zylvie 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 Zylvie. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Zylvie.

Choose who gets it

Add the access groups that should see Zylvie. 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 Zylvie integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search zylvie

Employee: connect Zylvie

In the portal

Open Zylvie in the catalog

Sign in to your portal and open Zylvie. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search zylvie
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Zylvie 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.

metorial list zylvie
metorial client list
metorial install <client-identifier> <integration-id>

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 5 read-only tools, such as get_account and list_coupons, and lose the 6 write tools, such as create_coupon or update_coupon, and the 3 destructive tools, such as delete_coupon or delete_product.

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 list zylvie
metorial tools <integration-id>
metorial call <integration-id> get_account -d '{}'

metorial tools lists the 14 tools, minus any you rejected. get_account takes no input. It retrieves account information for the authenticated Zylvie user, including email and brand name.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (5)

  • verify_license_key: Verify a software license key's validity for a specific product. Needs productId and licenseKey.
  • list_coupons: List all coupons in your Zylvie store.
  • get_account: Retrieve account information for the authenticated Zylvie user, including email and brand name.
  • verify_subscription: Verify subscription status by subscriber email. Needs email.
  • get_coupon_eligibility: Look up an existing customer email’s grant for a shared coupon, including the provider’s eligibility and expiration details.

Write tools (6)

  • create_coupon: Create a discount coupon in your Zylvie store. Needs code, type and amount.
  • redeem_license_key: Redeem (activate) a software license key. Needs licenseKey.
  • create_product: Create a new digital product in your Zylvie store. Needs title, url, currency, price, pricingModel and display.
  • update_product: Update an existing product in your Zylvie store. Needs productId.
  • update_coupon: Update an existing coupon in your Zylvie store. Needs couponId.
  • grant_coupon_eligibility: Start a customer email’s eligibility window for a shared coupon.

Destructive tools (3)

  • delete_product: Delete a product from your Zylvie store. Needs productId.
  • refund_license_key: Refund (invalidate) a software license key. Needs licenseKey.
  • delete_coupon: Delete a coupon from your Zylvie store. Needs couponId.

Triggers

Zylvie has 5 triggers, which fire on events in Zylvie:

  • new_sale: Triggers when a buyer completes a purchase where money is transacted.
  • new_lead: Triggers when a user submits their name and email to receive a free product or lead magnet.
  • new_subscription: Triggers when a user subscribes to a subscription product, whether starting with a free trial or a paid subscription.
  • subscription_cancellation: Triggers when a subscriber cancels their subscription to a subscription product.
  • new_affiliate: Triggers when a visitor signs up to be an affiliate or accepts an invitation to become one.

Next steps