<aside> 🧭

</aside>

User Guides

Connecting MCP Client to Cashmere MCP Server

How to access Wiley Content in Perplexity

How to get a Content License

Publisher Guides

Creating Omnipub Collections

Preparing Structured Data for Ingestion

Types of License Rights

Uploading New Content via the website

Developer Guides

API Docs

Cashmere Link Guide (OAuth) Overview

Third-Party OAuth Integration Guide for Publishers (BYOL / Short Link)

Connecting Wiley with Perplexity | DEPRECATED

Cashmere MCP Tools

This guide is for third-party applications that want to integrate Cashmere Link into their platform. Cashmere Link provides a seamless way for users to connect their licensed content collections to your application through an intuitive authorization interface powered by OAuth 2.0.

link regular.mov

image.png

What Cashmere Link Provides

Cashmere Link is not an identity provider — it uses OAuth 2.0 purely as a secure way for users to grant scoped API access to their licensed content. The result of the flow is an API key, not a user profile.

Integrating Cashmere Link

To integrate Cashmere Link into your application, you will:

  1. Register your application with Cashmere
  2. Implement the OAuth 2.0 flow
  3. Use the API key provided from the end of the OAuth flow to access Cashmere's content APIs

Step 1: Cashmere Link Application Registration

1.1 Contact Cashmere

To set up Cashmere Link for your application, contact Cashmere with the following information:

Required Information:

You'll Receive:

1.2 Link Application Configuration

You configure your OAuth client with:

Step 2: Cashmere Link Integration

2.1 Initiating Cashmere Link

Start the Cashmere Link experience by redirecting users to the authorization endpoint, typically after they have clicked a button like "Connect with Cashmere":

GET <https://cashmere.io/o/authorize/>

Required Parameters:

Example Authorization URL:

<https://cashmere.io/o/authorize/?client_id=YOUR_CLIENT_ID&redirect_uri=https://yourapp.com/callback&code_challenge=CODE_CHALLENGE&code_challenge_method=S256>

2.2 Cashmere Link

When users visit the authorization URL, they'll use Cashmere Link to login to Cashmere and browse and authorize collections.

image.png

image.png

2.3 Link Authorization Callback

After users complete selection and authorization in Cashmere Link, they're redirected back to your application with an authorization code:

<https://yourapp.com/callback?code=AUTHORIZATION_CODE>

2.4 Token Exchange

Exchange the authorization code for an access token (API key):

POST <https://cashmere.io/o/token/>
Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code&
code=AUTHORIZATION_CODE&
redirect_uri=https://yourapp.com/callback&
client_id=YOUR_CLIENT_ID&
client_secret=YOUR_CLIENT_SECRET&
code_verifier=CODE_VERIFIER

Successful Response:

{
  "access_token": "your-api-key",
  "token_type": "Bearer",
  "expires_in": 3153600000,
  "refresh_token": "refresh-token",
  "scope": "read write collections:1,2,3,4",
}

The access_token is a Cashmere API key and can be used to access Cashmere's APIs. You should save this key and associate it with your user accounts. API keys do not expire, but we return a high expires_in value as well as a refresh_token to fully meet the OAuth 2.0 specification.

Step 3: Using Your API Key

With a valid API key, you can access the Cashmere API

https://cashmere.io/api/v2/docs

GET <https://cashmere.io/api/v2/search>
Authorization: Bearer your-api-key
Content-Type: application/json

Step 4: Advanced Cashmere Link Options

4.1 Direct Publisher URL

Link can be configured to go straight to a specific publishers’ collections. Users still have the option to browse to and select collections from other publishers

<https://cashmere.io/o/authorize/?linkPublisher={{publisher_id}>}

link direct publisher.mov

4.2 Short Link Mode

Cashmere Link supports a "Short Link" mode for ultra-streamlined experiences. Users authenticate directly with a publisher's OAuth provider, then return to Link with their collections pre-selected based on their publisher account permissions. Publishers must perform extra steps to set this up. Users do not have the option to browse or select collections from other publishers.

This is best for publishers that already have their own login, subscription, or user management system, and they want to synchronize their authorization and entitlement settings with Cashmere.

link short link mode.mov

image.png

Additional steps are outlined here:

After completing the steps initiate the same Link flow as before with your publisher_oauth_provder_uuid included in the authorization url:

<https://cashmere.io/o/authorize/{{publisher_oauth_provider_uuid}>}