Skip to content
All changes

Plan onboarding inside your app, with SDK 1.1.0

SDK 1.1.0 brings the New workspaces setting into your app: a plan picker that stays open until a plan is chosen, free plans picked in code, and agent tools.

Added
3
  • SDKWith @buildbase/sdk 1.1.0, your app opens its plan picker by itself for a workspace that must choose a plan, and keeps it open until one is chosen, for anyone who may manage that workspace's billing. Set ui.behavior.planRequiredGate to false to show your own plans instead.
  • SDKuseSelectFreePlan, and selectFreePlan on the server client, put a workspace or a person on your free plan with no checkout. isPlanRequiredError and onboardingModeOf tell your code which setting applies.
  • AgentsAn agent on your app's MCP server can put a workspace on your free plan itself with select_free_plan. A tool refused because no plan is chosen says plan_required and names the tools that end it. The built-in tools are now 60.
Improved
1
  • BillingThe trial banner, in the console and in apps on SDK 1.1.0, says which plan a trial with no card moves to when it ends, instead of saying it converts to a paid plan.
Fixed
1
  • BillingA blueprint that starts new workspaces on a trial now says when it plans that Stripe must be connected and the plan's trial must not require a card, instead of being refused partway through the apply.

Use what shipped this week

Everything in this release is already in the console and the SDK.

Free plan7-day free trial on paid plansNo credit card required