This guide explains how to set up Nia AI in your Slack workspace and use it to interact with your codebase directly from Slack.

  • You have to index your repository on the webapp first.

Installation

1

Add to Slack

  1. Visit Nia AI Dashboard

  2. Click “Add to Slack” button

  3. You’ll be redirected to Slack’s authorization page

2

Authorize Access

Select the channels where you want to use Nia AI:

  • Choose specific channels

  • Or allow access to all channels

3

Complete Setup

After installation:

  1. Nia AI bot will be added to your workspace

  2. You’ll be redirected back to dashboard

  3. You can start using Nia AI in Slack

Usage

# Get help
/nia

# Set active project
/nia list - list your available indexed projects

# Choose project to chat with
/nia use <project_id> - choose which project to chat with

# Ask questions
/nia chat <question> - ask a question about your current project

Features

Code Search

  • Search across your codebase

  • Get relevant code snippets

  • Understand code context

Project Management

  • Switch between projects

  • View project status

  • Manage project settings

Thread Support

  • Continue conversations in threads

  • Keep discussions organized

  • Maintain context

Code Explanations

  • Get detailed explanations

  • Understand complex logic

  • Receive best practices

Channel Configuration

1

List Projects

/nia list

Sets the active project for the current channel

2

Verify Setup

/nia use <project_id>

Confirms the project is properly configured

3

Start Using

/nia chat <question>

Begin asking questions about your code

Best Practices

Channel Organization

  • Use dedicated channels for different projects

  • Keep conversations in threads

  • Use clear, specific questions

Question Format

  • Be specific about context

  • Reference specific files when needed

  • Use code blocks for code snippets

Security

Troubleshooting

Examples

Code Questions

FAQ