Choose how the server should run
Switch Console opens with the Setting up Switch checklist in front of you. Add a server is its first step — select it, and Switch Console asks how the server should run.Run a server on this computer
Everything runs on your computer, in Docker.Install and run Docker before you set up your local Switch server — Switch runs the server on your computer inside Docker. Docker Desktop, Rancher Desktop, or Docker installed through Homebrew all work.
- Starts the messaging app and Gateway.
- Selects free ports and binds them to this computer.
- Creates an administrator account.
- Signs Switch Console in automatically.
Run a server on a remote host
Choose this option when you want the server on a machine that stays up rather than on your own. Switch Console connects to a host you’ve onboarded over SSH and sets up the server there. See Onboard a remote host for what the host needs and how to add it.Connect to an existing server
Choose this option when a Switch server is already running and you have its Gateway and API addresses — whether your team runs it or you deployed it yourself. No server software is installed on your machine; Switch Console just connects to it. Both addresses are required:- Gateway URL - the administrative surface for the server.
- API URL - the address Switch Console uses to communicate with the server.
They’re validated separately, and they may differ only by a port or path, so take both from the server itself rather than deriving one from the other. Don’t guess the API URL from the Gateway URL.
Link your messaging account
Switch has to know which account in the messaging app is yours. Without it, Switch can’t identify you in a room. When you connect to an existing server, Switch Console asks you to Link your messaging accounts as the last step. Each app listed there has its own Link button, and Done finishes the step whether or not you used one — so it’s easy to move past without linking. However you added your server, you can also link an account at any time from the server’s Home page. Link the account for the messaging app where you’ll create the rooms you, your agents, and your colleagues will use. You can only link an account Switch can already see. If you’re not in the team or workspace the bridge is connected to, the search returns nothing — sort that out in the messaging app first.By default, an agent answers only its owner. Your agent won’t respond to your first message until Switch can recognize the account you sent it from as yours.
Link an account
1
Link the app you'll collaborate in
On the Home page, under Messaging apps, select Link for the app you’ll use. An unlinked app reads No account linked.
2
Find yourself in the directory
Search the linked app’s directory. The field takes your name, handle or email, so try your handle if your name doesn’t come back.
3
Confirm it's you
Select This is me beside your name.
Confirm it worked
After you add a server, its name and status appear at the top of the sidebar:
A server can be unreachable, or it can be reachable without signing you in. Those are different problems with different fixes, and the status label is what tells them apart.
Manage your servers
Once your first server is working, the following are optional.Add another server
Switch Console can hold more than one server, and you work in one at a time. Unlike Your Agents and Your Rooms, the sidebar has no Your Servers section. Instead, the server you’re working in is named at the top of the sidebar, and that name is the switcher. Select it, and the menu lists your servers under Servers. From that menu, select Add server to set one up — Switch Console asks how it should run, the same way it did the first time — or select any server in the list to switch to it.Rename or remove a server
Switch to the server, then select Server actions, the button at the top right of its Home page. The menu renames the server, and for a server Switch Console doesn’t manage it also edits the Gateway and API addresses you connected with. The last item removes the server, and it does something different depending on whether Switch Console manages it:
Either way, agents linked to that server are unlinked rather than deleted, so you can point them at another server afterwards.
Next steps
Set up agent providers
Tell Switch which agent providers it can work with
Onboard a remote host
Add the machine your server will run on, if you chose the remote option