Query your codebase directly from Slack with AI-powered answers
/syncally How does the authentication flow work?
Authentication is handled in auth.service.ts. The flow uses OAuth 2.0 with JWT tokens stored in HTTP-only cookies.
📎 References:
• auth.service.ts - validateSession()
• middleware.ts - authMiddleware()
🎯 Confidence: 94%
Overview
The Syncally Slack integration lets your team ask questions about your codebase without leaving Slack. Use the /syncally command to get AI-powered answers with file references, function names, and confidence scores.
Designed for engineering teams who live in Slack. No context switching—ask about authentication flows, database schemas, or deployment processes right where you're already collaborating.
/syncally Slash Command
Type /syncally <question> in any channel to query your codebase. Syncally processes your question, searches across indexed repositories, and returns a formatted response with file references.
- File references with function names
- Confidence scores (🎯 >80%, ✓ >60%, ⚠️ <60%)
Channel-to-Project Linking
Link Slack channels to specific Syncally projects for context-aware responses. Questions asked in #frontend-team automatically reference the frontend repository, while #backend-team uses backend context.
Asynchronous Response Architecture
Complex queries are processed asynchronously. Slack's 3-second timeout is bypassed usingresponse_url callbacks—your answer arrives the moment AI processing completes.
App Mention Support
Prefer mentions? Tag @Syncally followed by your question in any channel. Same powerful AI, different interaction style.
Enterprise-Grade Security
Every request is verified using HMAC SHA-256 signature verification with your Slack signing secret. Timestamp validation prevents replay attacks. OAuth 2.0 manages token lifecycle.
- Request signature verification
- 5-minute timestamp validation
- Encrypted token storage
How it works
How It Works
1. User Sends Command
Team member types /syncally Where is the payment logic?in a Slack channel.
2. Request Verified
Syncally verifies the HMAC signature and timestamp to ensure the request is authentic and fresh.
3. Project Context Resolved
Syncally identifies which project the channel is linked to and scopes the search accordingly.
4. AI Generates Answer
The knowledge base is queried, relevant code snippets retrieved, and AI synthesizes a comprehensive answer.
5. Response Delivered
Formatted answer with file references and confidence score is posted back to the channel via response_url callback.
Example Commands
Configuration
Setup Guide
- 1
Go to Settings → Integrations → Slack
- 2
Click "Add to Slack" and authorize the workspace
- 3
Link channels to projects in your Syncally dashboard
- 4
Test with
/syncally help
Bot Permissions
Remove anytime from Slack Workspace Settings → Manage Apps.