Get started
Setup commands
The commands behind Setup's Copy buttons, for running them yourself or in a script.
Where to find itSetup
Setup copies these for you, with the right options for your workspace. Use this page when you run them yourself, your developer asks what they do, or you set up a script. Run each one in your app's folder.
Read your plans and Features
npx --yes saasfunnels@latest setup runScans your code for plans and Features and sends what it finds to Setup for review. It reads the key from SAASFUNNELS_API_KEY; select Create key in Read your plans and Features from your app to make one.
| Option | What it does |
|---|---|
--env-file .env.local | Reads the key from that file. |
--resume | Picks up a scan that stopped where it left off. |
--send | Sends the results without asking first. |
--non-interactive | Never stops to ask, for scripts and coding agents. |
See Let SaaSFunnels read your app.
Keep your Catalog in sync
npx --yes saasfunnels@latest ci catalog-sync --yesAdds a GitHub Action to your repo. Each pull request then shows what changes in your plans, and your Catalog gets a draft when the change merges. Nothing is published for you. It asks you to allow catalog sync in SaaSFunnels and saves the key as a GitHub secret, so GitHub's gh command needs to be signed in.
Connect your coding agent
npx saasfunnels agent installConnects your coding agent to the SaaSFunnels MCP server (https://app.saasfunnels.com/mcp) and writes the Funnel playbooks for it, such as set_up and launch_funnel. Setup's prompt does this for you; see Set up with your coding agent.
See Connect your agent for each agent.