Open WebUI
Configure Open WebUI to use TensorX as an OpenAI-compatible provider.
What is Open WebUI?
Open WebUI is an open-source, self-hosted chat interface. It can discover models from an OpenAI-compatible API.
Prerequisites
Docker installed on your system
A TensorX API key (sign up here)
At least 2GB RAM and 10GB disk space
Port 8080 available
Quick Start
Deploy Open WebUI with TensorX in one command:
docker run -d \
--name open-webui \
--restart always \
-p 8080:8080 \
-e OPENAI_API_BASE_URL=https://api.tensorx.ai/v1 \
-e OPENAI_API_KEY=your-tensorx-api-key-here \
-v open-webui:/app/backend/data \
ghcr.io/open-webui/open-webui:mainThen open http://localhost:8080 in your browser.
Setup Guide
Step 1: Deploy Open WebUI
Step 2: Access Open WebUI
Open your browser and navigate to:
Or if running on a server: http://YOUR_SERVER_IP:8080
Step 3: Create Your Admin Account
On first visit, you'll see a signup form
The first user to sign up automatically becomes admin
Enter your name, email, and a strong password
Click Sign Up
Step 4: Start Chatting
All TensorX models are automatically available
Click the model selector dropdown at the top
Choose any model and start chatting!
Model selection
Call GET /v1/models with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query GET /v1/model/info before selecting the model. See Models for examples.
Features
Open WebUI includes these features:
Document Upload - Chat with PDFs, docs, and more
Web Search - Real-time web search integration
Conversation History - All chats saved automatically
Folders - Organize your conversations
Model Parameters - Adjust temperature, top_p, etc.
Multi-User Support - Create accounts for your team
API Access - Use Open WebUI as an API gateway
Docker Compose Setup
For easier management, create a docker-compose.yml:
Deploy with:
Configuration Options
Change Port
Use port 3000 instead of 8080:
Disable Signups (After Creating Admin)
Enable All Features
Environment Variables
OPENAI_API_BASE_URL
-
https://api.tensorx.ai/v1
OPENAI_API_KEY
-
Your TensorX API key
ENABLE_SIGNUP
true
Allow new user registration
WEBUI_AUTH
true
Enable authentication
DEFAULT_USER_ROLE
user
Default role for new users
ENABLE_API_KEY
false
Enable API key generation
ENABLE_RAG_WEB_SEARCH
false
Enable web search
Maintenance
Update Open WebUI
Your data persists in the Docker volume.
Backup Data
Troubleshooting
Models Not Loading
Check your API key is correct
Verify base URL:
https://api.tensorx.ai/v1Restart:
docker restart open-webuiCheck logs:
docker logs open-webui
Test Your API Key
Update API Key
Check Logs
Security Best Practices
Disable signup after creating admin:
ENABLE_SIGNUP=falseUse strong passwords for all accounts
Enable HTTPS via reverse proxy (nginx/Caddy)
Keep updated - pull latest images regularly
Backup regularly - schedule automatic backups
Firewall - only expose to trusted networks
Resources
Need Help?
Email: support@tensorx.ai
Contact Support: Contact page
Last updated
Was this helpful?

