Skip to content

Connect a Slack workspace

Connect a workspace by hand

No extension: copy the token and cookie from your browser's developer tools.

5 minutes

Two values are all it takes: the xoxc-… token, which identifies your session, and the value of the d cookie, which starts with xoxd-…. Screens differ between browsers; the tab names below are Chrome's.

1. The xoxc token

  1. Open app.slack.com in your browser

    Sign in to the workspace you want to connect and wait for the page to finish loading.

  2. Open the developer tools

    Press F12, or Cmd + Option + I on a Mac, then open the Console tab.

  3. Paste this line and press Enter

    Chrome may ask you to type allow pasting before it accepts a paste in the console: that is a normal safeguard.

    console
    Object.values(JSON.parse(localStorage.localConfig_v2).teams).map(t => [t.name, t.token])
  4. Copy your workspace's token

    The console lists one line per workspace, with its name and a token starting with xoxc-. Copy the whole token, without the quotes.

Another way: open the Network tab, filter on api/, click a request and look for the token field in its Payload.

  1. Open the Application tab

    Still in the developer tools. In Firefox and Safari, the tab is called Storage.

  2. Expand Cookies, then https://app.slack.com

    The site's cookies are listed on the right.

  3. Find the row named d

    Its domain is .slack.com and its value starts with xoxd-. Double-click the value and copy all of it. It may contain %2F or %2B: leave them, Pastille accepts both the encoded and the decoded form.

3. In Pastille

  1. Choose "Add a workspace", then manual setup

    Paste the token into the first field, the cookie value into the second, and confirm.

  2. Check the result

    Pastille asks Slack to confirm the session and shows the workspace name. If the token or cookie is refused, start again and copy the full values.

Signing out of Slack in that browser often invalidates the session. To keep it, close the tab without signing out.

Stuck somewhere? The FAQ covers the most common cases.