Skip to content
SaaSFunnelsHelp

Get started

Set up with your coding agent

Paste one prompt into your coding agent. It sets up SaaSFunnels in your code, asks you once before it changes anything, and Setup follows along.

Where to find itSetupYour coding agent

On this page

Your coding agent, such as Claude Code, Codex or Cursor, can do most of setup for you: the install code, signed-in users, events, your plans, your brand and what opens your first Funnel. You sign in, say yes once, open your site or app, connect Stripe and publish.

Start

  1. In Setup, answer Where should Funnels show first?, then choose With my coding agent.
  2. Select Copy prompt and paste it into your coding agent, in the repo for your website or app.
  3. Sign in to SaaSFunnels when your agent asks.

The prompt carries your workspace's setup code, so every agent you paste it into joins this workspace. The code works for 7 days after Setup last showed it.

One prompt for every repo

Under the prompt, Setup shows a row for each part you picked: Your website and Your app. Your agent looks through its repo and says what it holds.

  • One repo with your website and app: one agent covers both rows.
  • Separate repos: the row your agent doesn't cover says Paste this prompt into your website's repo too (or your app's). Paste the same prompt there.

Setup moves on once every row has an agent at work. If your agent finds an app with sign-in in a repo you set up as your website, Setup offers Add your app too. Select it to set up both, or Not now to keep your answer.

What your agent does

PartYour websiteYour app
Add SaaSFunnelsAdds the install code to every pageAdds the install code, the sign-in route with a Funnel server key, and confirms the events your app sends
Connect StripeLinks paying customers to their accounts, reads your plans and Features, and opens a pull request for the GitHub Action that keeps them in sync
Check your brandTakes your colors, fonts and sizes from your siteTakes them from your app, if you have no website
Publish your first FunnelSets up the pages it opens onHooks its button or event in your code

It finds the addresses your code runs on, local and production, and adds each one to your install code.

When it asks you

Before it changes anything, your agent lists every change it will make to your sites, Stripe and GitHub, and asks once. One yes covers that list. It asks again only for a change that wasn't on it.

Setup marks what only you can do with Needs you:

  • Open your site or app once, signed in for the app.
  • Connect Stripe.
  • Review your plans and Features.
  • Check your brand.
  • Pick your first Funnel, click its button once, and publish it.

What you see in Setup

You seeWhat it means
Waiting for an agentNo agent has joined from the prompt yet.
Your agent is on itYour agent is working on that part.
Asks you in your agentYour agent is waiting for your answer in its chat.
Needs youOnly you can do this part, such as opening your app once.
StoppedThat row's agent has been quiet for 10 minutes. Paste the prompt again and it picks up where it left off.
Live after you deployOpening your site or app locally once is enough to move on. Each production address shows Seen once it's seen after you deploy.

You can go back to an earlier step at any time, but not past one that isn't finished. When everything is done, Setup shows You're set up.

What it never does

Your agent never publishes, deletes, connects Stripe or changes billing. It doesn't commit or push your code unless you ask, and the GitHub Action goes in a pull request for you to merge.

To do the rest yourself, select Set up manually instead on any step. Setup keeps your place.

What's next