Getting Started With Noobot - noobot/noobot GitHub Wiki

This page should help you get started with your new Noobot.

Get Noobot up and running quickly

  1. Clone the repository: git clone https://github.com/noobot/noobot.git
  2. Go to src/Noobot.Console/Configuration and create a copy of config.default.json.
  3. Rename the copy to config.json.
  4. There are 2 ways to create bots:
    1. Legacy via Custom Integrations:
      1. Go to your Team's Slack bot integration page.
      2. Enter 'noobot' as the Username and click the 'Add Bot Integration' button.
      3. Copy the generated API key
    2. As an app [will provide more feature such as interactive messages]
      1. Go to https://api.slack.com/apps,
      2. Under Add features and functionality select Bots, add a Bot user.
      3. Under Install your app to your workspace, select, Install App, and click Authorise
      4. From the left menu, click OAuth and Permissions,
      5. Add new Scopes: Send messages as PreDemoNoobot1, Access the workspace’s files, comments, and associated information, and if you want to extend Add slash commands and add actions to messages (and view related content)
      6. Copy Bot User OAuth Access Token
  5. Paste it as your slack apiToken in config.json
  "slack": {
    "apiToken": "xxxx-00000000000-xxxxxxxxxxxxxxxxxxxxxxxx"
  }    
  1. Build and run your Noobot solution.

You should now be able to send messages to Noobot in your Team's Slack. Try direct messaging with @noobot help to see a list of commands.