Skip to Content

First run

Run on this computer

After package publication, run uvx swb-one up in an empty folder. Open the one-time sign-in link from your terminal within five minutes. SwB uses http://localhost:8870 by default. If you set SWB_PORT, SwB uses that port in the address. For other ways to start, including a source build, see Install.

Get a public address

Claude, ChatGPT and Grok run in the cloud. They need a public HTTPS address to reach SwB. A tunnel gives your local SwB server a public address.

Install cloudflared. Make sure your terminal can run cloudflared --version. If SwB is running, stop it first. Run this command in your SwB instance folder.

uvx swb-one up --tunnel cloudflare

SwB opens a Cloudflare Quick Tunnel and prints the public MCP address. Each restart with this option gives you a new address. Update the address in your apps.

For Tailscale, install Tailscale. Sign in to Tailscale. Enable Funnel. Make sure your terminal can run tailscale version. Use --tunnel tailscale in the command above.

For a fixed address on your own domain, read Self-hosting.

See the next step

swb status

The command shows the server status and which blocks are on. Read Next steps for any setup work. The switchboard_status tool also reports the next steps.

To check a server at another address, set --url. For example, run swb status --url http://127.0.0.1:8871. The CLI uses the SWB_PORT value from the shell or instance .env for its default local address. Pass the same instance folder with --dir if you used it with swb up.

Sign in to the web page

The web page shows your projects, agents, inbox, memory and audit log. It is also the safe place to paste tokens.

The SwB sign-in page

To get a new link, run this command in a second terminal from the same instance folder.

swb login-link

The command prints a one-time sign-in link. Open it in your browser within five minutes. Use --url and --dir here as you would with swb status. After your first sign-in, add a passkey. Use it for later sign-ins. See Owner sign-in for setup codes and other methods.

Web console

PageUse
/See the server status and project list.
/agents/*See registered agents and open the details of each agent.
/auditFilter the log of changes and other events.
/inboxSee conversations and requests that need your attention.
/inbox/:handleRead the messages in one conversation.
/memory/*Browse and search saved notes.
/projects/:slugSee one project's routes, history, conversations and memory.
/connections/:platformSee the connection status and Channel modes for Slack, Discord, Telegram or GitHub.
/settingsView server settings and manage passkeys.
/tokensSee token requests and stored credentials.
/aboutSee the SwB version and the list of enabled blocks.

Connect the first agent

Give your first agent owner access if it will set up other apps. For an app that runs on a server, approve its OAuth sign-in in the browser. Use a connection with access to all SwB tools.

On the SwB computer, set up a local owner client. Use SWB_KEY_OWNER from the instance .env for the client's sign-in. Send that key only to the local /mcp address.

If the first agent uses a paired key, ask it for the matching terminal command for each owner-only step. Run the command in the SwB instance folder. For example, run swb connect slack. See Connect your agents for the other apps.

On this page