Skip to content
SaaSFunnelsHelp

Get started

Setup commands

The commands behind Setup's Copy buttons, for running them yourself or in a script.

Where to find itSetup

On this page

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

Terminal
npx --yes saasfunnels@latest setup run

Scans 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.

OptionWhat it does
--env-file .env.localReads the key from that file.
--resumePicks up a scan that stopped where it left off.
--sendSends the results without asking first.
--non-interactiveNever stops to ask, for scripts and coding agents.

See Let SaaSFunnels read your app.

Keep your Catalog in sync

Terminal
npx --yes saasfunnels@latest ci catalog-sync --yes

Adds 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.

See Keep the Catalog in sync.

Connect your coding agent

Terminal
npx saasfunnels agent install

Connects 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.