Settings Screens
Pre-built settings for profile, members, billing, usage, features, and more.
Call openWorkspaceSettings() to open a full settings dialog. One function replaces months of UI work across 18 screens.
import { useSaaSAuth } from '@buildbase/sdk/react';
function SettingsButton() {
const { openWorkspaceSettings } = useSaaSAuth();
return (
<button onClick={() => openWorkspaceSettings('subscription')}>
Manage Subscription
</button>
);
}Pass a section name to open directly to that screen, or call with no arguments to open the default (profile) screen.
import { useSaaSAuth } from '@buildbase/sdk/react';
function SettingsNav() {
const { openWorkspaceSettings } = useSaaSAuth();
return (
<div className="flex flex-col gap-2">
<button onClick={() => openWorkspaceSettings()}>General Settings</button>
<button onClick={() => openWorkspaceSettings('users')}>Members</button>
<button onClick={() => openWorkspaceSettings('subscription')}>
Billing
</button>
<button onClick={() => openWorkspaceSettings('danger')}>
Danger Zone
</button>
</div>
);
}Available screens
| Section | Description |
|---|---|
profile | User profile - name, email, username, language, country, currency, and timezone. |
security | Password, phone number, two-step sign-in, connected accounts, passkeys, and deleting the account. From SDK 1.0.0, while the person's company asks for passkeys, it refuses to remove their last one and asks them to confirm it's them before removing another. |
devices | Signed-in devices - rename a device, sign it out, or forget it. |
billing | The signed-in person's own plan, apart from any workspace (from SDK 1.0.0): their plan, the plans on offer, and anything a workspace grants them. Shown once your app sells plans to people. See Users and workspaces. |
account-credits | The signed-in person's own credit balance and history, apart from the workspace's credits (from SDK 1.0.0). Shown beside billing when your app sells credit packs to people. |
connected-agents | Connected OAuth2 agents (e.g. MCP clients) - view connections and revoke access. |
my-selling | The signed-in person as a seller in your app (from SDK 1.2.0), in the account group: Start selling, Stripe's onboarding inside the app, then their status, what Stripe still needs, and their account and documents. Listed while your app's selling is on. |
general | Workspace name, icon, and billing currency. |
users | Invite members by email (account or not), see pending invitations, assign roles, view seat usage bar, and remove members. |
subscription | Current plan details, change plan with the cost shown before the change, add-ons, pause, cancel or resume subscription, and view invoices. |
usage | Per-quota progress bars showing current consumption and overage costs. |
credits | Credit balance, purchase packages, auto top-up on the saved card, transaction history, and expiring credits. |
features | Toggle workspace-scoped feature flags on or off. |
notifications | Push subscription toggle and per-event email/push notification preferences. |
permissions | Your app's own permissions for this workspace's roles, overriding the organization's matrix. Shown only once the organization defines a permission of its own (in the console or through defaultPermissions); only the workspace's creator can change it (app permissions). |
enterprise | Single sign-on (from @buildbase/sdk 1.0.0): which company's identity provider the workspace belongs to, whether the connection works, and Set up SSO for the company's IT admin. With provisioning on, a Directory sync card with the directory's state, its last sync and Set up directory sync. A SAML certificate card while WorkOS warns it is expiring or expired, with Renew the certificate, and the company's Activity with a CSV download for members who can edit settings. The company's Access policy (session length, IP allowlist, break-glass people, the ways its people may sign in without single sign-on and how many have a passkey, the app's team signing in as its people, and keeping its network to its own accounts, with Check this network), signing one person or everyone out, or only the sessions outside those ways, and each person's Sessions, with ending one and Reset passkeys, for the same members. A change to the company's settings asks the member to Confirm it's you when they last signed in more than 10 minutes ago, and keeps the change for when they come back. The company's Insights (sign-ins and refusals over 7, 30 or 90 days) and Log streams to its SIEM (HTTPS, Datadog, Splunk). With company audit logs on, the activity adds Export from WorkOS and Open the audit log viewer, and the log streams show the company's WorkOS stream, read only. Who holds which company role, the company's Groups (with the groups inside each, everyone in it and its managers) and Company roles, the apps and agents its people connected, its API keys and service accounts for its own tools, its email Domains as WorkOS verified them (Verify in WorkOS, Refresh from WorkOS), and Joining: requests to join, accounts on its domains to bring in, and people outside it in its workspaces. With role assignment in WorkOS on for the company, a Roles in WorkOS section with Refresh from WorkOS and Assign roles in WorkOS for the IT admin, and Show in the Admin Portal on each role and group. Listed while enterprise sign-in is on for the org, to members with workspace:settings:view; the buttons need workspace:settings:edit. Hide it with ui.settings.sections.enterprise, only the button with ui.settings.enterprise.setupSso, or the card or its button with ui.settings.enterprise.provisioning and setupProvisioning; certificate, security, activity, insights, logStreams, admins, connectedApps, apiKeys, groups, roles, domains, joining, workosRoles and managedGroups hide the other fourteen. Each section shows by the member's company role: one their role lets them view is shown, one it lets them manage can be changed. Once the company names a Company admin, someone holding no company role sees none of them, except a group's manager, who sees Groups you manage (<EnterpriseManagedGroups />): their groups, with Add people and Remove. |
selling | The workspace as a seller in your app (from SDK 1.2.0): the same steps as my-selling, for the workspace. Listed while your app's selling is on; viewing needs workspace:selling:view, starting and the account's own settings need workspace:selling:manage. |
danger | Delete the workspace, with a confirmation step, for a member who may; leave it, for any member but its creator. Hidden when each person may have only one workspace. |
What your users see
These pictures are the screens as a workspace's admin sees them, in the SDK's
default theme. A member whose role lacks a permission sees less: the invite
form, Resend and Revoke are hidden from a viewer.
-
Members (
openWorkspaceSettings('users')): invite by email, pick the role, and press the invite button, which names the role (Invite as viewer).
-
Under it, the seats the workspace uses, and Pending invitations with Resend and Revoke. A pending invitation holds a seat until it is accepted, declined, revoked or expired.

-
Settings (
openWorkspaceSettings('general')): the workspace's name and icon, saved with Update Workspace.
-
Danger Zone (
openWorkspaceSettings('danger')): Delete Workspace, which asks again before anything is deleted.
On a phone the dialog fills the screen and shows one section at a time, with a back arrow to the list of sections.

Opening specific screens
The openWorkspaceSettings function accepts any section name from the table above:
import { useSaaSAuth } from '@buildbase/sdk/react';
function SettingsExample() {
const { openWorkspaceSettings } = useSaaSAuth();
// Open to usage tracking
openWorkspaceSettings('usage');
// Open to the default (profile) screen
openWorkspaceSettings();
}Note
From @buildbase/sdk
0.0.71
on a server from
release 22
, the notifications screen is each member's own: "Your
notifications" over the workspace defaults, which admins set on the same
screen. Older SDKs edit the workspace defaults for everyone.
Tip
These screens replace months of UI work. They handle loading states, error messages, and permission checks automatically.
Built-in capabilities
Every settings screen includes:
- Permission gating - Screens and actions are hidden or disabled based on the user's role. A
viewersees Danger Zone only to leave the workspace, and only the creator changes its permissions. - Translations - All screens are translated into 8 languages. The active language is determined by the user's profile or browser locale.
- Responsive layout - Screens adapt to mobile, tablet, and desktop viewports.
- Loading and error states - Skeleton loaders during data fetch, inline error messages on failure, and retry buttons where applicable.
Next Steps
- Billing Overview - Set up plans, subscriptions, and payment processing for your workspaces.