Name the bot, then click the “Add bot integration” button.
The page will reload and an access token will be generated.
Slack Token
Slack Token are also known as Bot User Token which is required while deploying a bot.
Click the "Save Integration" button at the bottom of the page. The bot is now ready to connect to Slack's API.
Hipchat (XMPP)
Sign in an existing team with a separate credential for the bot to work independently as botuser
Go to the Account settings option by clicking the user icon on the top right corner
Click XMPP/Jabber info link in the menu. Make a note of the Jabber ID which will be used to deploy the bot
Mattermost
1. Click on the located at the top left corner beside your team name
2. Select Integrations from the drop down menu
you must have Team Admin or higher privilege in your Mattermost server to have this optiion enabled for you.
3. Select Incoming Webhooks option
4. Click on the button at the top right corner
5. Give a title (preferabely a meaningful one so that you can understand later for which bot it is being used), description of the webhook (optional) and select a channel from the dropdown. Your will be able to communicate with your bot with the channel selected here, provided your bot is a member of this channel.
6. After filling all details, click save. Next you will see your incoming url for that channel. Copy this and keep it saved somewhere, as this should be provided as the Mattermost Incoming Url while adding your bot through the OnBots Add bot screen.
7. Next, go back to integrations page and click on Outgoing Webhooks. Click on button on the top right corner.
8. Give a title for the webhook, optional description and select the same channel selected while creating incoming webhooks. Give a dummy url inside the Callback URLs (One Per Line) option, as this will be modified later once your bot is deployed through OnBots UI. Click save.
9. You will see a 26 character Token. Copy this and keep it saved somewhere, as this should be provided as the
10. After deploying your bot through OnBots, Click on the Click button corresponding to your bot (located at the last column of OnBots Manage screen).
11. Copy the entire URL you see in the pop-up window.
12. Update your outgoing webhook (Go to your concerned outgoing webhook → Select Edit → Paste the copied URL into the field named Callback URLs (One Per Line) → Click Update)
13. You are ready to chat with you bot from the channel now. Commands should be given in this format: @botname <command>
bot will reply by the name of the user who has configured the incoming and outgoing webhooks. Hence, it is recommended to deploy your bot inside OnBots with the same name as your mattermost username which will be used as a bot.
This section explains about adding a bot with hubot configurations in Slack \ Hipchat.
No labels
0 Comments
You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
0 Comments