Join Us

Your Name:(required)

Your Password:(required)

Join Us

Your Name:(required)

Your Email:(required)

Your Message :

0/2000

How to set up ChatGPT in Slack?

Author: Geym

Sep. 27, 2023

231 0

Tags: Business Services

ChatGPT is a trending AI mainly used for research purposes. In this tutorial, you will learn how to set up ChatGPT in a Slack Channel which offer you a personal bot AI inside your workspace.

msg

The entire process can be completed in about 3 minutes, and you don’t need to write any code.

Table of Contents

Step 1: Create a Slack App

  1. Go to Slack API, and click Create New App

  2. Select From scratch. 

  3. Set the app name and Workspace. 

NOTE: Do not close this page, but open a new Tab to do Step 2.

Step 2: Build a connection in Vanus Cloud

  1. Log in to Vanus.ai.

  2. Choose the Chat with ChatGPT via Slack bot template. 

  3. Write a name for your connection. 

  4. Now, go back to your Slack Tab, Scroll down to App Credentials and copy the two following credentials.

    • Verification Token

    • Signing Secret 

  5. Paste the two credentials from Slack as configurations. Then click Next

  6. Go back to Slack App page to set up the Webhook URL. Click on Incoming Webhook on the left side-bar and select Activate incoming webhooks

  7. Add a new Webhook to your workspace. 

  8. Choose the channel the bot can post to. 

  9. Copy the Webhook URL of your welcome bot. 

  10. Paste the Webhook URL to Vanus connection and click Submit

Step 3: Connect with your Slack APP

  1. You should see a connection once you submitted. Click its name to see the detailed information. msg

  2. Click the copy icon to copy the webhook url. msg

  3. Go back to your Slack APP page and click on Event Subscriptions in the side menu. Enable Events by turning on the switch. msg

  4. Use the Webhook URL we just copied in Step 3.2 and paste it in Request URL. You should see a green Verified indicating our Source is verified by Slack. msg

  5. Scroll down, click Subscribe to bot events and after you will be able to click Add Bot User Event. msg

  6. Select app_mention to receive events whenever a question is asked and the bot is tagged in your Slack Channel. msg

  7. Now, click Save Changes to complete your configuration. msg

  8. You may receive a notification to reinstall your app to your workspace. Click it to reinstall your app. msg

  9. In this example, I will reinstall it in the test channel. msg

Step 4: Test your connection

Now your app is installed successfully in the test channel. Mention your bot @ChatGPT to add it to the channel.

msg

To test if our welcome bot is working, you can tag your bot and ask a question. msg

Conclusion

In this tutorial, we introduced how to set up ChatGPT on your Slack channel. We started by creating a Slack App and obtained the necessary credentials we needed to configure our ChatGPT to Slack Vanus Connection. Finally, we tagged our bot in our Slack channel and asked questions.

You can find more interesting connection templates on Vanus cloud

Feel free to ask any questions if you encounter problems in our Slack channel


Comments

0/2000

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us!

Your Name: (required)

Your Email: (required)

Subject

Your Message: (required)

0/2000