Nisa
  • Overview
    • 👋Welcome to Nisa
    • ✨Our Features
  • Connecting Data Sources
    • Slack
    • Notion
    • Github
    • Jira
    • Confluence
    • Google Drive
    • One Drive
    • SharePoint
    • Google Calendar
    • Gmail
  • Deploying Bots
    • Slack
    • Discord
    • API
    • Widget
Powered by GitBook
On this page
  1. Deploying Bots

Slack

PreviousGmailNextDiscord

Last updated 1 year ago

Slack is a powerful collaboration platform that enables teams to communicate and work together effectively.

Setting Up Slackbot

To connect your Slackbot to Nisa using internal Slack apps, follow these steps:

Note: You must be an admin of the Slack workspace to set up the app.

Step 1. Navigate and sign in to

Step 2. Create a new Slack app:

  • Click the Create New App button in the top right.

  • Select From an app manifest option.

  • Select the relevant workspace from the dropdown and click Next.

Step 3. Copy the following manifest into the text box.

Note: Replace redirect_urls with your own Dashboard URL. You can update the request URL later on.

display_information:
  name: Nisa
  description: Indexing Business Knowledge into AI
  background_color: "#2c2d30"
features:
  bot_user:
    display_name: Nisa
    always_online: false
oauth_config:
  redirect_urls:
    - https://dashboard.nisa.ai/oauth/slack
  scopes:
    bot:
      - app_mentions:read
      - channels:history
      - channels:read
      - chat:write
      - conversations.connect:read
      - im:history
      - mpim:history
      - groups:history
settings:
  event_subscriptions:
    request_url: https://chatapi.nisa.ai/v1/slack/LICENSE_KEY
    bot_events:
      - app_mention
      - message.im
  org_deploy_enabled: false
  socket_mode_enabled: false
  token_rotation_enabled: false

Step 4. Click Next and Create button.

Step 5. Navigate to your Nisa dashboard and select Deployments.

Step 6. Click create and select Slack.

Step 7. Fill-up the form and click save. You can get the Bot User OAuth Token under Features tab and OAuth and Permissions page.

Step 8. Copy and save your request URL.

Step 9. Back to your Slack app, change your request URL under Features tab and Event Subscriptions page. Click change then save changes.

Step 10. Navigate to the App Home tab under the Features header. Inside the Shows Tabs panel, enable Messages Tab and check "Allow users to send Slash commands and messages from the messages tab".

Step 11. Navigate to the OAuth & Permissions tab under the Features header. Under OAuth Tokens for Your Workspace, select Install to Workspace and Allow the app.

Congratulations! You have successfully connected your slackbot to Nisa. Start sending messages now by mentioning @Nisa to your channels.

https://api.slack.com/apps