Quick Start Guide
Deploy your first Alactic AGI instance in under 15 minutes with this step-by-step guide.
Overview
This guide walks you through:
- Opening Azure Marketplace
- Configuring deployment parameters
- Starting the deployment
- Accessing your Alactic AGI instance
- Verifying everything works
Time Required: 10-15 minutes for deployment + 10-15 minutes for Azure resource provisioning
Step 1: Navigate to Azure Marketplace
Option A: Direct Marketplace Link
- Visit the Azure Marketplace
- Search for "Alactic AGI"
- Click on the Alactic AGI offering
Option B: From Azure Portal
- Sign in to Azure Portal
- Click "+ Create a resource"
- Search for "Alactic AGI"
- Click the Alactic AGI result
Step 2: Configure Deployment
Basics Tab
Subscription
- Select your Azure subscription from the dropdown
- Ensure Azure OpenAI Service is approved for this subscription
Resource Group
- Choose "Create new" and enter a name (e.g.,
alactic-agi-prod) - Or select an existing resource group
- Best Practice: Use a dedicated resource group for easier management
Region
- Select an Azure region close to your users
- Verify the region supports Azure OpenAI Service
- Recommended regions: East US, West Europe, UK South
- See Regional Availability for full list
Plan Selection
- Free: 50 URLs, 20 PDFs, gpt-4o-mini only
- Pro: 200 URLs, 100 PDFs, gpt-4o and gpt-4o-mini
- Pro+: 1000 URLs, 500 PDFs, gpt-4o and gpt-4o-mini
- Enterprise: Unlimited, custom configuration
See Plan Comparison for detailed feature breakdown.
SSH Public Key Choose one of two options:
Option 1: Generate New Key (Recommended)
- Select "Generate new key pair"
- Enter a name (e.g.,
alactic-agi-key) - You'll download the private key after deployment
Option 2: Use Existing Key
- Select "Use existing public key"
- Paste your SSH public key
- Format:
ssh-rsa AAAAB3... user@host
Model Configuration Tab
OpenAI Chat Model
- Enter deployment name:
alactic-gpt4o(or your preferred name) - Model: GPT-4o (Pro+ and Enterprise) or GPT-4o mini (Free and Pro)
- This is created automatically during deployment
OpenAI Embedding Model
- Enter deployment name:
alactic-embedding - Model: text-embedding-3-large
- Used for vector search functionality
Note: The deployment creates these models in Azure OpenAI Service automatically. You don't need to create them beforehand.
Review + Create
- Review all configuration settings
- Check estimated monthly cost (shown at bottom)
- Read and accept terms and conditions
- Click "Create"
Download SSH Key: If you generated a new key pair, a download prompt appears immediately. Save this file securely - you cannot download it again.
Step 3: Monitor Deployment Progress
Deployment Timeline
- Resource creation: 2-3 minutes
- VM provisioning: 3-5 minutes
- Software installation: 8-12 minutes
- Total: 15-20 minutes
Tracking Progress
- You'll see "Deployment in progress" page
- Click "Deployment details" to see individual resources
- Resources are created in this order:
- Resource Group
- Managed Identity
- Key Vault
- Cosmos DB
- Azure OpenAI
- Storage Account
- Virtual Network
- Network Security Group
- Public IP Address
- Network Interface
- Virtual Machine
- VM Extension (runs installation)
What's Happening
While you wait, the deployment:
- Creates all Azure resources
- Configures networking and security
- Installs Ubuntu 22.04 on the VM
- Installs Python 3.11, Node.js 18, and dependencies
- Downloads and configures Alactic AGI application
- Sets up Nginx reverse proxy
- Starts backend and frontend services
- Configures systemd for automatic restart
Step 4: Access Your Instance
Get Your Application URL
Once deployment completes:
- Go to "Deployment outputs" tab
- Copy the applicationURL
- Format:
http://your-vm-name.region.cloudapp.azure.com:3000
Get Your Deployment Access Key
The deployment access key is required to use the application:
- Still in "Deployment outputs" tab
- Copy the deploymentAccessKey
- Format:
ak-xxxxxxxxxxxxx(unique per deployment)
Important: This key cannot be changed or regenerated. Store it securely.
First Login
- Open the applicationURL in your browser
- You'll see the Alactic AGI access gate
- Paste your deployment access key
- Click "Verify Access"
- The key is stored in your browser (localStorage)
Step 5: Verify Installation
Test Document Upload
- Click "Upload PDF" in the interface
- Select a PDF file (max 10MB for testing)
- Click "Extract Content"
- Wait for processing to complete
- Review extracted text and summary
Test URL Processing
- Click "Process URLs" tab
- Enter a test URL (e.g.,
https://en.wikipedia.org/wiki/Artificial_intelligence) - Click "Process"
- Wait for scraping to complete
- Review extracted content
Check Settings
- Click the Settings icon (gear) in top right
- Verify your plan is shown correctly
- Verify deployment key is displayed
- Check model access matches your plan
Verify Services
SSH into your VM to check services:
ssh -i path/to/your-key.pem appuser@your-vm-fqdn
# Check backend service
sudo systemctl status alactic-backend
# Check frontend service
sudo systemctl status alactic-frontend
# Check nginx
sudo systemctl status nginx
All three should show "active (running)" status.
Troubleshooting Quick Start
Deployment Fails During Provisioning
Problem: Resource creation fails
Solution:
- Check selected region supports all services
- Verify Azure OpenAI access is approved
- Check subscription quotas for VM SKUs
- Review Activity Log in Azure Portal for specific error
Application URL Not Accessible
Problem: Cannot reach application URL after deployment
Wait Time: Allow 15-20 minutes for full installation
Solution:
- Verify NSG allows port 3000
- Check VM is running in Azure Portal
- SSH to VM and check service status
- Review nginx logs:
sudo journalctl -u nginx -n 50
Access Key Not Working
Problem: Deployment key shows "Invalid key"
Cause: Key mismatch or backend not initialized
Solution:
- Verify you copied the exact key from deployment outputs
- Wait 2-3 minutes for backend to fully initialize
- Check backend logs:
sudo journalctl -u alactic-api -n 50 - Verify .env file exists:
ls -la /home/alacticadmin/Alactic-AGI/.env
Model Not Found Error
Problem: "Model deployment not found" error when processing
Cause: Azure OpenAI deployments not ready
Solution:
- Go to Azure OpenAI resource in portal
- Check "Model deployments" section
- Verify both chat and embedding models exist
- Wait 5-10 minutes after deployment for models to activate
- Check model names match exactly (case-sensitive)
Upload Fails with Permission Error
Problem: PDF upload shows permission denied
Cause: Directory ownership misconfigured
Solution: SSH to VM and run:
sudo chown -R alacticadmin:alacticadmin /home/alacticadmin/Alactic-AGI/uploads
sudo chmod 755 /home/alacticadmin/Alactic-AGI/uploads
sudo systemctl restart alactic-api
Common Post-Deployment Tasks
Connecting from Multiple Devices
The deployment key works from any browser or device. Simply enter it on the access gate page.
Monitoring Usage
Track token usage in Azure OpenAI resource:
- Go to Azure OpenAI resource
- Click "Metrics"
- View "Processed Inference Tokens" metric
Setting Up Alerts
Configure cost alerts to avoid unexpected charges:
- Go to "Cost Management + Billing"
- Create budget for resource group
- Set threshold alerts (e.g., 80%, 100% of budget)
Backup Configuration
Important data to backup:
- Deployment access key
- SSH private key
- Application URL
- Azure OpenAI endpoint and keys (stored in Key Vault)
Next Steps
Now that your instance is running:
- Understanding the Dashboard
- Processing Your First Documents
- Managing Multiple URLs
- Optimizing Model Selection
- Monitoring and Logs
Getting Help
If you encounter issues:
- Check Common Deployment Issues
- Review Service Status Problems
- See Authentication Errors