Skip to content
SaaSFunnelsHelp

Developers

Developer overview

See every way your code connects to SaaSFunnels and which key each one uses.

On this page

SaaSFunnels connects to your product in a few places. Most teams need the first two; the rest are optional.

What you're buildingWhere it runsPage
Show Funnels on your site and appBrowserInstall code reference
Tell SaaSFunnels who is signed inYour serverInstall code reference
Send product events from your backendYour serverServer events API
Take payments inside a FunnelYour serverPayment actions
Receive leads and Funnel eventsYour serverWebhook signatures
Give a coding agent accessYour machine or agentMCP server
Validate events from a terminal or CIYour machine or CICLI, CI event validation

All requests go to https://app.saasfunnels.com.

Keys at a glance

KeyWhere to get itSafe in a browser?
Client keySettings → Install codeYes. It only works on the sites you allow.
Funnel server keySettings → Install code → Signed-in visitors → App usersNo
API key (Developer tools or Event ingestion)Settings → Integrations → Direct APINo
Discovery keyFinish setup → Let SaaSFunnels read your appNo
Payment signing and completion secretsYou generate themNo
Webhook signing secretSettings → Integrations → WebhookNo

Use the same account ID everywhere

Pick one stable ID for each customer account, such as your workspace or organization ID. Send it as account_id with server events, and as accountKey when your sign-in route creates a session. When the IDs match, a Funnel's results, events and payments line up with the right customer.

Hand the work to a coding agent

Settings → Install code has Set up with an agent in its actions menu, and the Direct API page has a matching handoff. Each gives an agent the steps and placeholders it needs, without real keys.

What's next