boltQuick Start Guide

Transform Your Business Intelligence with AI-Powered Knowledge Management

Welcome to AINexLayer! This guide will walk you through the essential steps to get up and running in minutes.

Get AINexLayer up and running in minutes using Docker!

Prerequisites

  • Docker: Version 20.10 or higher

  • Docker Compose: Version 2.0 or higher

Quick Setup (3 steps)

1. Create Project Directory

mkdir ainexlayer && cd ainexlayer

2. Create Configuration Files

# Create docker-compose.yml
cat > docker-compose.yml << 'EOF'
name: ainexlayer

services:
  ainexlayer:
    container_name: ainexlayer
    image: alakinfotech/ainexlayer:latest
    ports:
      - "3000:3001"
    volumes:
      - "./storage:/app/server/storage"
    environment:
      - NODE_ENV=production
      - STORAGE_DIR=/app/server/storage
      - JWT_SECRET=${JWT_SECRET:-your-super-secret-jwt-key}
      - LLM_PROVIDER=${LLM_PROVIDER:-openai}
      - OPEN_AI_KEY=${OPEN_AI_KEY:-your-openai-api-key}
      - VECTOR_DB=${VECTOR_DB:-lancedb}
      - MULTI_USER_MODE=${MULTI_USER_MODE:-false}
    restart: unless-stopped
EOF

# Create .env file
cat > .env << 'EOF'
# Required: Your OpenAI API key
OPEN_AI_KEY=your-openai-api-key-here

# JWT Secret (change this in production)
JWT_SECRET=your-super-secret-jwt-key-change-this

# LLM Provider
LLM_PROVIDER=openai

# Vector Database
VECTOR_DB=lancedb

# Multi-user mode
MULTI_USER_MODE=false
EOF

3. Start AINexLayer

Access Your Instance

Open your browser and navigate to: http://localhost:3000arrow-up-right

Getting Started

1. Create Your First Workspace

  • Click "Create Workspace" on the dashboard

  • Give it a name (e.g., "My Documents")

  • Choose your preferred AI model

2. Upload Documents

  • Click "Upload" in your workspace

  • Drag and drop PDF, TXT, DOCX, or other supported files

  • Wait for processing to complete

3. Start Chatting

  • Click "Chat" in your workspace

  • Ask questions about your uploaded documents

  • The AI will provide contextual answers based on your content

Essential Commands

View Logs

Stop Services

Update to Latest Version


Troubleshooting

Common Issues

Port Already in Use

Permission Errors

Check Status

Configuration Options

Environment Variables

Edit .env file to customize:

Production Settings


🎉 You're ready to start building intelligent document solutions with AINexLayer!

Last updated