Services
Copy MarkdownServices
Preflight detects the services a project uses and checks that each one is wired up: the API keys are in the environment, the SDK is initialized, the script tag is in the layout. preflight init declares the ones it finds in preflight.yml; a service declared there but never initialized is reported.
services:
stripe:
declared: true
sentry:
declared: trueEach service’s ID works with --only, --skip, and preflight ignore, like a check’s. IndexNow’s service ID is indexnow, and it is verified by the index_now check, so either name works.
API keys are read from every .env file at the project root. A value in .env, .env.local, .env.test, and the like sets a key; a name in .env.example, .env.sample, or .env.dist documents it, which passes as configured but not verified. In CI, the example file is often all there is.
Every service, with its ID
- Payments
Stripe
stripePayPal
paypalBraintree
braintreePaddle
paddleLemonSqueezy
lemonsqueezy- Error Tracking
Sentry
sentryBugsnag
bugsnagRollbar
rollbarHoneybadger
honeybadgerDatadog
datadogNew Relic
newrelicLogRocket
logrocket- Analytics
Fullres
fullresPlausible
plausibleFathom
fathomUmami
umamiGoogle Analytics
google_analyticsPostHog
posthogMixpanel
mixpanelAmplitude
amplitudeSegment
segmentHotjar
hotjarDatafa.st
datafast- Auth
Auth0
auth0Clerk
clerkWorkOS
workos- Chat
Intercom
intercomCrisp
crisp- Notifications
Slack
slackDiscord
discordTwilio
twilio- Infrastructure
Redis
redisSidekiq
sidekiqRabbitMQ
rabbitmqElasticsearch
elasticsearchConvex
convexFirebase
firebaseSupabase
supabase- Storage & CDN
AWS S3
aws_s3Cloudinary
cloudinaryCloudflare
cloudflare- Search & SEO
Algolia
algoliaIndexNowindexnow- AI & LLMs
OpenAI
openaiAnthropic
anthropicGoogle AI
google_aiMistral
mistralCohere
cohereReplicate
replicateHugging Face
huggingfaceGrok
grokPerplexity
perplexityTogether AI
together_ai
Stripe is the one service whose check needs more than declared: true. It runs when preflight.yml has a checks.stripeWebhook block, and its result ID is stripe (there is no stripe_webhook ID). It verifies the API keys, the webhook secret, and the SDK’s initialization. Set checks.stripeWebhook.url and it also probes the webhook endpoint.
services:
stripe:
declared: true
checks:
stripeWebhook:
enabled: true
url: "https://api.example.com/webhooks/stripe" # optional