Skip to main content

Slack Connector Documentation

Follow the steps below to integrate your chatLLM deployments with Slack and use Abacus.AI within your Slack workspace.

Initial Connector Setup​

Step 1: Add Connector​

  1. In the Abacus.AI UI, select your profile in the top right corner and choose "Manage Connectors".

    Manage Connectors
  2. Select "Add New Connector", choose Slack, and authenticate with your Slack workspace.

    Add New Connector
  3. Authenticate with Slack and verify the connector in the Abacus.AI platform.

    Authenticate and Verify Give Permission

Step 2: Create New Deployment​

  1. After you have finished your first ChatLLM or AI Workflow model, create a real-time deployment and open the Prediciton Dashboard for the active deployment.

    slack_real_time_deployment
  2. Click on "Create Abacus.AI Chat". This will trigger the creation of an external webpage that allows you to share the chatbot or AI Workflow with external users who may not need to have platform access.

    slack_create_new_webpage

Step 3: Configure User Permissions​

  1. Navigate to the "Bots" page in the chatLLM admin console.

  2. Toggle on "All registered users" to allow all users to access the bot.

  3. Set the default bot to the DataLLM bot or any other bot as required.

  4. Ensure that the appropriate group permissions are set for bot access.

For more detailed instructions on managing team permissions and controlling access to specific bots, refer to the Abacus.AI Messaging Connectors Documentation.

You can now start using the Abacus.AI app within your Slack workspace.

To expose relevant links in the responses via the Slack connector, follow these steps:

  1. Create a document retriever on a feature group that has a column marked with the DOCUMENT_SOURCE feature mapping. This column will be used to display relevant sources in the Slack connector.
  2. Train and deploy a model with that document retriever.

How to Use the Slack Integration

How to Use New Conversational Ability​

Here are the following commands you can use to interact with the bots:

  • @Abacus.AI list - Lists all chatbot names.
  • @Abacus.AI <bot_name> <query> - Sends your query to a specific bot.
  • @Abacus.AI help - Provides assistance in using the bot.
List Bots Start Conversation Continue Conversation

To ask for help from the bot, use @Abacus.AI help:

Help Command

You can also navigate to the bot message tab, where you can interact with the bot without using the @Abacus.AI tag.

To list the chatbot names in the App message tab:

List in DM
  • You don't have to tag the bot in the App message tab; each of your messages will be seen by the bot.
  • list to list the bot names, help to get help from the bot, <chatbot_name> <query> to start a conversation with a chatbot, and just <query> in threads will work in the App message tab.
DM Conversation Start DM Conversation

Instructions for Registering with the Slack App​

  • Initiate registration by using the command @Abacus.Ai register to receive a registration link. This link connects your existing Abacus user account with your Slack account and grants access to private bots available to you.
  • After clicking the link, you will be directed to the login page. Before logging in, ensure that you have accepted the invitation received via email or signed up on the Abacus.AI platform beforehand.
  • Once logged in, you will be redirected to Slack, where you'll be prompted to authorize the app. Click on Allow to grant the necessary permissions.
  • Following authorization, a confirmation message will appear to indicate that your account is now successfully linked.

Notes on the Registration Process:​

  • You may need to disable pop-up blockers to complete the registration on the Abacus.AI platform.
  • To disable pop-up blockers, click on the icon located at the top right corner of your browser and select Always allow pop-ups and redirects from Abacus.AI. Then, click Done to apply the changes.
  • If using a different browser, you'll be notified to allow pop-ups if they are currently blocked.

Important Information:​

  • How we handle your data: Abacus.AI privacy policy
  • Bot responses are generated and may produce inaccurate information.
  • You may be prompted to add the bot to the channel the first time you use it.
Add to Channel

The bot can be used in public, private, direct messaging as long as the bot has been added there. Also, you can use the bot in the app's message tab.

To use the bot in direct messaging, you will need to add the bot to your direct messaging channel.

DM Multiple Conversations

Troubleshooting and FAQ for the Slack Connector​

How can I rename the Abacus.AI bot in Slack?​

To rename the Abacus.AI bot in your Slack workspace, follow these steps:

  1. Open the Abacus.AI App in Slack:
  • Navigate to your Slack workspace and open the Abacus.AI app.
  1. Access the Manage Apps Page:
  • Go to the "Manage Apps" page within Slack.
  1. Edit the Bot User Name:
  • Click on the "Abacus.AI" app.
  • Select the "Edit" button next to the bot user name "Abacus.AI".
  1. Rename the Bot:
  • Change the bot's name to your desired name, for example, "company_ai_bot".
  • Click "Save Changes" to apply the new name.
  1. Verify the Changes:
  • Navigate back to the Abacus.AI app page.
  • Click "Open in Slack" to reopen the Slack window.
  • Confirm that the bot now appears with the new name "company_ai_bot".
  1. Interact with the Renamed Bot:
  • The bot will respond with a message, such as "Here is the list of Chatbot names: 1. onboarding_documentation_deployment".

These steps will help you customize the bot's name to better fit your workspace's needs.

For a visual guide, you can watch the embedded video below:

Help​

For any support or queries, you may reach out to us at Abacus.AI help.