Connect to Stack Overflow for Teams

Installation Process for Stack Overflow for Teams

  1. Find out your team id from your team’s Display Settings in Admin Settings. The team URL will be of the form https://stackoverflow.com/c/{TEAM_ID} You will use it wherever you see TEAM_ID in this document.
  2. Generate a personal access token in Stack Overflow. a. Visit the Global account settings. b. Click Personal access tokens. c. Click Create a new PAT. d. Enter these values:
    1. PAT Description: Glean Search Crawler
    2. Team Scope: Select the team that matches the TEAM_ID from Step 1.
    3. Expiration Date: No expiration is recommended. Otherwise, you will need to regularly update the token.
    4. Enable write access: Unchecked. e. Click Create. f. Click on the code to copy the value.
  3. Enter the value into Glean by pasting the key in Personal access token text box.
  4. Enter the TEAM_ID in the Team ID text box.
  5. [Optional] If you prefer to crawl only questions with certain tags, add those tags as a semicolon separated list to the Greenlisted Tags text box. Empty indicates all tags and is default behavior. Multiple tags will be ANDed together.