Credentials. The LINK_CLIENT_SECRET must stay in server settings and must not be pasted into chat or committed.
Who it is forA US or Canadian consumer who wants an assistant to make purchases for them after they approve each one.
The problemAn assistant that buys things needs a payment method, and handing it a card directly is a risk.
The outcomePurchases approved through Link are paid from your wallet, with the assistant using the Stripe Link Agent Wallet.
What you need first
- A Vercel account on the Pro plan, since the Hobby plan cannot run the every-minute schedule
- A Kernel account on its free plan for cloud browsers
- A Neon account on its free plan for Postgres
- An iMessage-capable phone to verify the managed Linq line
- A Stripe account only if you want Link wallet purchases
Steps
- Create or sign in to a Stripe account, follow Stripe's Link OAuth registration guide, and submit the Link Agent Wallet application form.
- Register the callback URL https://<your-app>/api/auth/callback/link in that application.
- In Vercel under Project, Settings, Environment Variables, add LINK_CLIENT_ID, LINK_CLIENT_SECRET, STRIPE_PUBLISHABLE_KEY, and BETTER_AUTH_URL.
- Push a commit to the connected Git repository to redeploy.
Prompt for your agent
Using the repo Merit-Systems/OpenInstinct, configure the Link environment variables for the project <your-app> without committing any secret. Expected output: a redeployed app with the Link wallet page showing the callback URL. Verify that STRIPE_PUBLISHABLE_KEY starts with pk_ and not sk_.
Caveat. Stripe currently supports Link Agent Wallet only for US and Canadian consumers, and the deploy button does not configure Link for you.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Merit-Systems/OpenInstinct and "Approve purchases from your Link wallet"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer