What to connect before a SaaS launch, and in what order
The nine integrations a SaaS needs before launch, what breaks without each, which depend on which, and the order that avoids redoing work.
Nine connections, and the order is not optional
Before a stranger can pay for your product, the app has to be connected to nine outside services: a code host, hosting, a database, a domain registrar, DNS, transactional email, payments, analytics with search, and error tracking. Three more are needed only by some products: file storage, an AI model key and Sign in with Google.
The order matters more than the list. Several of these cannot start until another has finished, and it is easy to lose time in a first launch by doing step six before step four is ready. This guide explains what each integration is for, what visibly breaks without it, what it depends on, and where the waiting happens. Each row has a full article, linked at the end of the page.
What each one is for, and what breaks without it
| Integration | Job | Symptom when it is missing | Needs first |
|---|---|---|---|
| Code host (GitHub) | Holds the repository your host deploys from | No automatic deploys; every change is a manual upload | Nothing |
| Hosting (Railway or Vercel) | Runs the app and gives it a public address | The app exists only on your laptop | Code host |
| Database (Postgres on the host, or Supabase) | Keeps accounts and data | The app boots, then crashes on the first query | Hosting, or its own project |
| Registrar (Cloudflare or Namecheap) | Owns the domain name and renews it | You launch on a host subdomain you do not control, and you cannot verify it as a sending domain for email | A payment method |
| DNS (Cloudflare) | Points the name at hosting, email and verification records | Nothing that follows in this table can be completed | Registrar, with nameservers pointed at the DNS host |
| Transactional email (Resend) | Sends sign-in links, receipts and password resets from your domain | Mail is refused or lands in spam, so nobody can confirm an account | DNS, for DKIM, SPF and DMARC records |
| Payments (Stripe) | Products, prices, checkout and the webhook that tells your app a payment happened | People pay and the app never unlocks anything | The live domain, for the webhook address |
| Analytics and search (GA4, Search Console) | Shows who visits, and gets the site into Google | No harm on day one, but the data from launch week can never be recovered | The domain; Search Console also needs DNS |
| Error tracking (Sentry) | Reports crashes with a stack trace | You hear about bugs from annoyed customers, or not at all | Nothing, but the DSN must be present when the app is built |
The sequence that works
This is the order Shipyard's launch runs in. It is not arbitrary: each step consumes something the previous one produced, which is noted after the colon.
- Check that the domain is available and what it costs: before anything is created, so a taken name stops the launch while it is still free to stop.
- Register the domain, create the DNS zone, and point the registrar's nameservers at it: everything later writes records into this zone.
- Create the repository: hosting deploys from it.
- Create the hosting project and the database: this yields the database address and the DNS target for the domain.
- Connect the repository so every push to the main branch deploys.
- Attach the custom domain and wait for the HTTPS certificate: email, payments and search all want the final
https://address. - Add the sending domain at the email provider, write its DKIM, SPF and DMARC records, wait for verification, then create a sending-only key.
- Create products, prices and the webhook endpoint in Stripe's test mode: the webhook needs the live domain from step 6.
- Create the analytics property and its web stream.
- Verify the domain for Search Console with a TXT record and submit the sitemap.
- Create the error tracking project and, if chosen, the storage bucket with keys limited to it.
- Generate the app's own secrets.
- Write every key and ID into the host's variables, so that the next build is the first one that has all of them.
- Run a health check against the live domain.
Where the waiting is
Clicking through dashboards is the small part. The rest is waiting for systems to notice each other. These are the points where a launch pauses and the longest Shipyard waits at each before it stops and asks you to run it again later. They are patience limits written into the tool, not measurements of how long providers take.
| Waiting for | Shipyard's limit | Why it takes time |
|---|---|---|
| The DNS zone to become active after a nameserver change | 30 minutes | The registry and resolvers must pick up the new nameservers |
| The database to come up | 10 minutes | A new Postgres instance is being provisioned |
| The HTTPS certificate for the domain | 20 minutes | The host must see its DNS record before a certificate can be issued |
| The email provider to verify the sending domain | 20 minutes | It looks up the DKIM and SPF records it asked for |
| Google to see the Search Console TXT record | 15 minutes | Same reason, different resolver |
| The site to answer on its own domain | 12 minutes | The deploy with the full set of variables has to finish |
Choices that constrain other choices
A few decisions are linked, and discovering the link late means redoing work.
- Vercel runs the app but has no database of its own, so choosing Vercel means choosing an outside database such as Supabase. Railway can hold the app and Postgres in one project.
- Vercel also has no long-running background workers. If the product needs a queue or a scheduled job that runs for minutes, that decides hosting.
- Supabase Auth only makes sense with Supabase as the database. Picking one picks the other.
- Cloudflare Registrar works only with Cloudflare DNS. A domain bought there cannot have its nameservers pointed elsewhere, which is fine if Cloudflare is your DNS host anyway.
- Namecheap as registrar adds preconditions before its API will act: account eligibility, a whitelisted IPv4 address and prepaid balance.
- Stripe is built in test mode first. Going live is a separate, deliberate switch, and it waits on Stripe's business verification, which is worth starting on day one because it is the only step whose duration you do not control.
The variables that end up on the host
Every integration finally becomes one or more environment variables. A name that differs by one character between the host and the code is the classic reason an app works locally and fails after deploy, so settle the names once. These are the main ones a Shipyard launch writes. Each Stripe price adds a STRIPE_PRICE_ variable of its own, a welcome coupon adds STRIPE_COUPON_WELCOME, and Supabase Auth adds three Supabase values.
| From | Variables |
|---|---|
| The app itself | APP_URL, APP_NAME, SESSION_SECRET, ENCRYPTION_KEY |
| Database | DATABASE_URL |
RESEND_API_KEY, EMAIL_FROM | |
| Payments | STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET |
| Analytics | NEXT_PUBLIC_GA_MEASUREMENT_ID |
| Error tracking | SENTRY_DSN, NEXT_PUBLIC_SENTRY_DSN |
| File storage, if chosen | S3_ENDPOINT, S3_REGION, S3_BUCKET, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY |
| AI provider, if chosen | ANTHROPIC_API_KEY, OPENAI_API_KEY or OPENROUTER_API_KEY |
The three optional ones
File storage is needed only if users upload files or the app generates them. Skip it otherwise; an unused bucket is one more credential to guard.
An AI key is needed only if the product itself calls a model. The key your coding tool uses to write the code is a different thing and never belongs in the app.
Sign in with Google is worth adding when sign-up friction matters more than the setup time it costs. It is the one integration on this page that no tool can complete for you, because Google requires a person to create the OAuth client.
Proof that it is launched
A deploy that succeeded is not evidence that the product works. Check the chain from outside, on the real domain, in this order. Each test depends on the ones above it, so the first failure tells you where to look.
- The site answers over HTTPS on its own domain.
- A health endpoint reports that the database is connected. If the app has no such endpoint, add one; without it the database cannot be checked from outside.
- The email provider accepts a test message from your own address.
- A test event from Stripe reaches the webhook and the app acknowledges it.
- Mail sent to your public address, such as
hello@yourdomain, arrives in your inbox.
What Shipyard automates, and what stays with you
Shipyard is a command-line tool and MCP server that sets up the whole stack for a new product (domain, hosting, database, email, payments, analytics and error tracking) from your coding agent, on your own computer. It runs the fourteen steps above on your own accounts, with keys held in the operating system keychain on your computer, and it asks for explicit confirmation before the step that spends money directly, the domain purchase.
It cannot create the provider accounts, add payment methods, complete Stripe's business verification, accept Google Analytics' terms, create the Google sign-in client, or click the confirmation link a mail forwarding service sends to your inbox. Those remain a person's job, and it lists the ones that apply to your stack before the first launch.
Sources
- Verify your site ownership (Search Console Help)support.google.com
- Sentry: Data Source Name (DSN) explainerdocs.sentry.io
- Cloudflare R2 authentication and API tokensdevelopers.cloudflare.com
- Namecheap API FAQnamecheap.com
- Using OAuth 2.0 for web server applications (Google)developers.google.com
Launch in an hour, not a weekend
Shipyard connects your accounts once, then sets up the domain, hosting, database, email and payments for every new product.
See how it works