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.

Simon, Founder of Shipyard

By · Founder of Shipyard

7 minute read

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

IntegrationJobSymptom when it is missingNeeds first
Code host (GitHub)Holds the repository your host deploys fromNo automatic deploys; every change is a manual uploadNothing
Hosting (Railway or Vercel)Runs the app and gives it a public addressThe app exists only on your laptopCode host
Database (Postgres on the host, or Supabase)Keeps accounts and dataThe app boots, then crashes on the first queryHosting, or its own project
Registrar (Cloudflare or Namecheap)Owns the domain name and renews itYou launch on a host subdomain you do not control, and you cannot verify it as a sending domain for emailA payment method
DNS (Cloudflare)Points the name at hosting, email and verification recordsNothing that follows in this table can be completedRegistrar, with nameservers pointed at the DNS host
Transactional email (Resend)Sends sign-in links, receipts and password resets from your domainMail is refused or lands in spam, so nobody can confirm an accountDNS, for DKIM, SPF and DMARC records
Payments (Stripe)Products, prices, checkout and the webhook that tells your app a payment happenedPeople pay and the app never unlocks anythingThe live domain, for the webhook address
Analytics and search (GA4, Search Console)Shows who visits, and gets the site into GoogleNo harm on day one, but the data from launch week can never be recoveredThe domain; Search Console also needs DNS
Error tracking (Sentry)Reports crashes with a stack traceYou hear about bugs from annoyed customers, or not at allNothing, 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.

  1. 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.
  2. Register the domain, create the DNS zone, and point the registrar's nameservers at it: everything later writes records into this zone.
  3. Create the repository: hosting deploys from it.
  4. Create the hosting project and the database: this yields the database address and the DNS target for the domain.
  5. Connect the repository so every push to the main branch deploys.
  6. Attach the custom domain and wait for the HTTPS certificate: email, payments and search all want the final https:// address.
  7. Add the sending domain at the email provider, write its DKIM, SPF and DMARC records, wait for verification, then create a sending-only key.
  8. Create products, prices and the webhook endpoint in Stripe's test mode: the webhook needs the live domain from step 6.
  9. Create the analytics property and its web stream.
  10. Verify the domain for Search Console with a TXT record and submit the sitemap.
  11. Create the error tracking project and, if chosen, the storage bucket with keys limited to it.
  12. Generate the app's own secrets.
  13. Write every key and ID into the host's variables, so that the next build is the first one that has all of them.
  14. 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 forShipyard's limitWhy it takes time
The DNS zone to become active after a nameserver change30 minutesThe registry and resolvers must pick up the new nameservers
The database to come up10 minutesA new Postgres instance is being provisioned
The HTTPS certificate for the domain20 minutesThe host must see its DNS record before a certificate can be issued
The email provider to verify the sending domain20 minutesIt looks up the DKIM and SPF records it asked for
Google to see the Search Console TXT record15 minutesSame reason, different resolver
The site to answer on its own domain12 minutesThe 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.

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.

FromVariables
The app itselfAPP_URL, APP_NAME, SESSION_SECRET, ENCRYPTION_KEY
DatabaseDATABASE_URL
EmailRESEND_API_KEY, EMAIL_FROM
PaymentsSTRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET
AnalyticsNEXT_PUBLIC_GA_MEASUREMENT_ID
Error trackingSENTRY_DSN, NEXT_PUBLIC_SENTRY_DSN
File storage, if chosenS3_ENDPOINT, S3_REGION, S3_BUCKET, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY
AI provider, if chosenANTHROPIC_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.

  1. The site answers over HTTPS on its own domain.
  2. 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.
  3. The email provider accepts a test message from your own address.
  4. A test event from Stripe reaches the webhook and the app acknowledges it.
  5. 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

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

Read next