Here are the step-by-step instructions to integrate your bot with Slack:

  1. Log in to Dashboard -> navigate to the overview page of the bot that you want to change.

  2. On the overview page, you will see several tabs. Look for the one labelled "Launch" and click on it.

  1. Select the "Discord" tab. Click on the "Enable" switch to enable the integration.

  2. After you enable the Integration, you will see a page as shown below.

Important Note: Please note that you must sign-in to your discord account, on your browser, where you wish to integrate your OrimonAI chat-bot, before proceeding further. A link for doing the same is provided on the Integration page as well as here. You need to create a Discord Account, here in-case you don't have one.

  1. Now, click on the Discord application link, provided on the integration page, this should redirect you to a new window, as shown below. Click on "New Application" on the top-right corner.

  1. Following this a prompt will open up, asking you to name your application

  1. Pick a name of your choice and then click on "Create", after which you will see a page as shown below.

  1. Now, copy both the Application ID & Public Key one by one and paste them in their respective dialog boxes on the integration.

  2. Then navigate back to the Application page on DIscord and one the panel on the left navigate to "Bot" as shown below.

  1. Then under the "Token" section click on "Reset Token" and on the pop-up that opens, asking for confirmation click "Yes, do it"

  2. After doing this you'll see a token for Integrating your chat-bot with discord as shown below.

  1. Copy this token and navigate back to the integration page on your dashboard, and paste this under "Bot Token" dialog box.

Caution: If you Reset the Bot Token post Discord integration, the bot will be inaccessible until you delete the integration. To resume, create a new integration with the updated token.

  1. Now click on "Submit" on the Integration page on your dashboard, then a pop-up will open up asking you to confirm your integration. Click on "Continue Integration"

If your bot has successfully integrated you will see a page like the one shown below.

  1. In order to make your discord bot operational, you need to add atleast one command to this integration. For this click on the "+" button in the "Chat Commands" like shown below.

  1. Then a pop-up will open, asking you for information/configuration of your command, fill the details according to your preference, an example of which is shown below.

Then click on "Submit".

  1. If your command has been successfully added, you will see a screen like the one shown below.

  1. Here click on the link to "Add Bot to Server", after which you will be redirected to a screen where a pop-up will ask you to select a server to add the bot to, like the one shown below.

From the drop-down, select the server of your choice and click on "Continue" & on the authorisation page that shows up next, click on "Authorise".

  1. Now you can go to the server where you have integrated your chat-bot to test if it is functioning as expected, by using the command you configured.

That's all for Integrating your chat-bot with Discord!

Last updated