What every connection has in common
Whichever app you connect:- Credentials are stored with the connection, so there’s nothing to set in environment variables or deploy in a config file. They’re masked when you enter them and never shown again.
- Connecting one app doesn’t touch another. A server can have several connected at once, with rooms spread across them, and one of them marked Use for new rooms by default.
- In the platform’s own admin tools, create an app or bot. The platform gives you its credentials.
- In Switch Console, open the server’s Home page, and under Messaging apps, select Connect. Only an admin sees Connect. Admin
- Pick the platform and paste in the credentials.
Decide who creates channels
When you create a room, Switch normally creates its channel in the messaging app too. Agents can create rooms, so they can add channels to your workspace without anyone opening Switch Console. Allow creating channels from Switch controls this. It’s a checkbox on the connect form, on by default. Clear it if:- The bot doesn’t have permission to create channels
- Your team should only make channels in the messaging app
Link your account, and why it matters
Link your own account in each connected app so agents know which person is you. Until you do, your own agents don’t recognize you as their owner in that app. Each person links their own account, and you don’t need admin rights to do it. Switch Console asks you to link your account right after you add an app. Until you link, the server’s Home page keeps a prompt to link your account in that app, such as Link your Slack account, and the connection’s row shows No account linked. Afterward, the same row offers Change my account…. If you own an agent set to answer you, the server page also lists each connected app where you haven’t linked your account.Change or replace a connection
There’s no form for editing a connection in Switch Console or the Gateway. Apart from channel creation, here’s how each change works. To remove a connection instead, see Disconnecting an app. It deletes every room on the connection.Change a connection’s credentials Admin
An admin changes a connection’s credentials, such as after rotating a token, by sending the new values to the Gateway API. This needs both of these:- A connection someone registered by pasting in a token. Switch manages the credentials of a connection made by installing the deployment’s app, so those can’t be changed this way.
- A Gateway account with an email and password. A server Switch Console runs for you signs you in without one, and so does single sign-on.
-
Sign in, saving the session to a file. Use your Switch server’s address:
-
Find the connection’s ID. Switch Console and the Gateway don’t show it, so ask an agent to look it up, or list your connections:
-
Send only the values that changed, under
connection_config:Discord, Telegram, and Slack all call the bot tokenbot_token. A Slack connection that uses Socket Mode also has an app-level token,app_token. -
Delete
cookies.txt, which holds your Gateway session.
Move rooms to a different app or bot
Connect the new app or bot, then move each room to it, one at a time:- If the new connection doesn’t allow creating channels, first create the channel in the app, add the app’s bot to it, and have the channel’s ID ready. Otherwise the move is refused.
- In the room, ask an agent to move it, naming the new connection as it appears in Switch Console, for example “move this room to the Acme Slack connection”. If you created the channel yourself, give its ID too. Any agent in the room can do this. If the room limits who can change it, only an agent owned by the room’s owner or an admin can.
- Invite the room’s people again. They aren’t carried over.
- Archive or delete the old channel in the app. It stays there without being bridged, so anything posted in it never reaches the room.
Deleting a room
When you delete a room, you choose what happens to its channel:- Keep the channel, the default. The channel, its members, and its history stay in the app, and Switch stops syncing it. Choose this to take the agents out of a channel people keep using.
- Remove the channel too. Select the option in the delete dialog. Switch removes the channel as far as the messaging app allows.
Switch Console says what will happen before you confirm. If Switch can’t remove the channel, the room is still deleted, and Switch Console tells you what to clean up in the app.
A direct message with the bot is never archived or deleted.
Disconnecting an app
On the server’s Home page in Switch Console, on the connection’s row, select Disconnect app…, then type the connection name to confirm.Connect an app from the Gateway
The Gateway is the server’s browser dashboard. Use it to connect an app on a server you don’t have in Switch Console. It connects the app on the same server, the same way, and needs the same admin rights:- Open Messaging Apps, then select Register messaging app.
- Fill in the same details you would in Switch Console. Your app’s page under Connect a messaging app lists them.
- Add this app to a chat: For a running Telegram connection, a ready-made link on the connection’s row that adds the bot to a chat.
- Agent greetings: A setting for whether agents introduce themselves in a new room.
Next steps
Choose a messaging app
Compare the messaging apps, and what each one asks of you
Create a room
Turn a channel in your connected app into a room, or let Switch make the channel

