The New York Times
Use The New York Times with AI apps and agents through Vercel Connect. Follow a complete setup guide for secure runtime access.
Install the skill
$ npx skills add vercel/vercel-plugin --skill vercel-connectConnect to
The New York Times$ vercel connect create the-new-york-times --name acme-the-new-york-timesUse its data in agents(opens in new tab) and apps(opens in new tab)
import { getToken } from '@vercel/connect';const token = await getToken('the-new-york-times/acme-the-new-york-times');
Use The New York Times in apps and agents
The Archive API provides lists of NYT articles by month going back to 1851. You can use it to build your own local database of NYT article metadata.
Why use Vercel Connect with The New York Times?
Credentials on demand
Request The New York Times credentials only when your application or agent needs them instead of copying secrets into application code.
Access for the right subject
Keep app-scoped The New York Times access behind a reusable connector controlled by your team.
Centralized credential management
Manage The New York Times credentials in one place and retrieve them through a consistent runtime API.
Vercel-native controls
Bind connections to the projects and environments that need them while Vercel OIDC authenticates each runtime request.
Use The New York Times with your stack
Follow a complete setup for the Connect SDK or a supported agent framework.
Add The New York Times to an existing Vercel application with the Connect SDK.
Install the Connect SDK
npm install @vercel/connectCreate the The New York Times connector
Run these commands from the project that will use the connection.
vercel linkvercel connect create the-new-york-times --name acme-the-new-york-timesvercel env pullRequest The New York Times credentials
app/api/route.tsimport { getToken } from '@vercel/connect';const token = await getToken('the-new-york-times/acme-the-new-york-times');