VantaBot is a Slack-integrated assistant that helps employees get quick, accurate answers to security and compliance-related questions. It connects directly to your company's Knowledge Base in Vanta, so everyone can easily find relevant information without needing to ask the security team directly.
- 💬 Ask questions in Slack (e.g. "How do we handle data encryption?")
- 🔍 The bot queries your Vanta Knowledge Base articles via API
- 🧠 Optional: use OpenAI to improve natural language understanding
- ✅ Reduces repetitive questions to the security team
- 🔐 Keeps employees aligned with security and compliance practices
Your project should include:
app.py
– Flask-based backendrequirements.txt
– Python dependenciesProcfile
– startup command for RenderREADME.md
– this file
- Sign up at https://render.com
- Connect your GitHub repo
- Create a new Web Service:
- Build command:
pip install -r requirements.txt
- Start command:
python app.py
- Select "Free" or "Starter" plan
- Note your Render URL (e.g.
https://vanta-kb-bot.onrender.com
)
- Build command:
-
Create a new app
-
Under OAuth & Permissions, add these scopes:
app_mentions:read
chat:write
commands
(optional for future slash commands)
-
Under Event Subscriptions:
- Enable events
- Set your Request URL:
https://<your-render-url>/slack/events
- Subscribe to:
app_mention
-
Install the bot to your workspace and copy your
SLACK_BOT_TOKEN
- Log into your Vanta account
- Go to Settings > Developer Console
- Create an API key with access to your Knowledge Base
- Store it securely as
VANTA_API_KEY
in Render's environment variables
Variable Name | Description |
---|---|
SLACK_BOT_TOKEN |
Your Slack Bot Token (xoxb-... ) |
VANTA_API_KEY |
Vanta API key with read access to the KB |
OPENAI_API_KEY |
(Optional) For better NLP question handling |
- ✅ Basic query handling from Slack
- 🧠 Add OpenAI integration for flexible language input
- 🧾 Handle article search and fallback gracefully
- 📚 Log most-asked questions for FAQ optimization
- “How do we manage user access?”
- “What’s our data retention policy?”
- “Are we HIPAA compliant?”
- “How are backups encrypted?”
Made with ❤️ to help reduce repetitive security questions.