HandbookII the ForumThird-party services and SDKs
IIthe Forum, The shape of an appThird-party services and SDKs
In plain words
A third-party service, such as Stripe, Resend or OpenAI, does one job for your app through its API, and an SDK is the ready-made code that makes calling it easier.
Where you see it
Lines like import Stripe from "stripe" or import { Resend } from "resend", each with a key in your environment variables and a dashboard you sign in to. Every one is a company your app now depends on.
What goes wrong
- Launching with the test key
Stripe keys starting sk_test_ never move real money; sk_live_ keys do. Mix them up and you either earn nothing or charge real cards while testing.
- No plan for when the service is down
Every outside service has outages. If the email provider fails, sign-up shouldn't fail with it: catch the error, log it and carry on.
- Code written for an older version of the SDK
An agent's memory of an SDK can be a year or two out of date, so methods turn out missing or renamed. Check the version in package.json against the docs you're reading.
What to tell your agent
Quick check
Sign in to earn +10 XP for itPayments worked perfectly in testing, but after launch no real money is arriving. What do you check first?