Admin Setup & First Boot
Once BoxedAI is running, you need to create the first administrative user (superuser) to configure the system.
1. Retrieve the Setup Code
For security, the initial setup page is protected by a one-time code generated on the server console. This prevents unauthorized users from taking over a fresh installation.
To find the code, check the logs of the backend container:
docker compose logs backend | grep "Admin Setup Code"You should see a message like:
[ADMIN] Admin Setup Code: 1234-5678-ABCD-EFGH2. Create the Superuser
- Navigate to
http://localhost/setupin your browser. - Enter the Setup Code you retrieved from the logs.
- Fill in the Superuser Details:
- Email: Your admin email address.
- Password: A strong password for your account.
- Organization Name: The name of your primary organization (e.g., "My Company").
- Click Complete Setup.
You will be automatically logged in as the Superuser.
3. System Configuration
After logging in, navigate to the Admin Dashboard (usually found in the sidebar or user menu). Here you should configure the AI inference settings:
- Go to Settings -> Inference.
- Provider: Select OpenAI or OpenRouter.
- Model Name: Enter the model ID (e.g.,
gpt-4o,gpt-3.5-turbo). - API Key: Enter your provider's API key. Note: API keys are encrypted at rest.
- Click Save.
4. Managing Capabilities
Capabilities are AI tools that extend what the assistant can do. As an admin, you control which capabilities are available to your organization.
- Navigate to Admin -> Capabilities.
- You'll see a list of all available capabilities with toggle switches.
- Toggle capabilities on or off for your organization.
| Capability | Default | Description |
|---|---|---|
| Calculator | On | Safe math expression evaluation |
| File Search | On | Semantic search across uploaded documents |
| File Read | On | Read content of specific uploaded files |
When a capability is disabled, the AI simply won't have access to that tool — it won't appear in the tool list sent to the LLM.
5. Managing Analyzers
Analyzers extract text from uploaded files, enabling full-text search and file content retrieval. Like capabilities, they are toggled per organization.
- Navigate to Admin -> Analyzers.
- You'll see a list of all available analyzers with toggle switches.
- Toggle analyzers on or off for your organization.
| Analyzer | Default | Description |
|---|---|---|
| text_plain | On | Extracts text from plain text files (.txt, .md, .csv, etc.) |
| pdf_extract | On | Extracts text from PDF documents |
| docx_extract | On | Extracts text from Microsoft Word (.docx) files |
When an analyzer is disabled, files of that type will still be stored but won't have text extracted for search.
6. User Management
As an admin, you can now:
- Invite Users: Create accounts for your team members.
- Manage Groups: Organize users into groups for access control.
7. System Management
The Admin -> System page provides system-level operations:
- Reset (Nuke): Completely reset the system, removing all data. This is a destructive, irreversible operation intended for development or re-provisioning scenarios.
8. Encryption (Optional)
You can enable zero-knowledge encryption for your organization. See Encryption for details.