Skip to content

Lean how to create an AI Slackbot with Django, Celery, Upstash Serverless Redis, and more.

Notifications You must be signed in to change notification settings

codingforentrepreneurs/Django-AI-Slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create an AI Slackbot with Django

Watch it now

Recommended skills

Prepare your Domain

Even in development, Slackbots require https domains so we'll be using Cloudflare Tunnels. Cloudflare Tunnels are free and incredibly effective. I used to use ngrok but their free teir does not (or did not) offer custom domains like Cloudflare Tunnels. For an alternative tunnelling options, check out this excellent repo.

To use CloudFlare Tunnels, you need:

  • Control over a domain name so you can update to Cloudflare nameservers (NS Records)
    • In my case, I have a domain I use just for development. When I added this domain to my Cloudflare account, I was prompted to use the Cloudflare nameservers audrey.ns.cloudflare.com and trevor.ns.cloudflare.com -- (yours may be different). Review this guide for more).
  • A free Cloudflare account
  • Your domain name registered as a website on cloudflare which just means that you need to add your domain as a website so you can get the correct nameservers for it.
  • Eventually, you will need to install Cloudflared which you can by going through the official docs).

I will show you how to create the tunnel in the upcoming tutorial.