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