Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:main

Then 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

  1. On first visit, you'll see a signup form

  2. The first user to sign up automatically becomes admin

  3. Enter your name, email, and a strong password

  4. Click Sign Up

Step 4: Start Chatting

  1. All TensorX models are automatically available

  2. Click the model selector dropdown at the top

  3. 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

Variable
Default
Description

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

  1. Check your API key is correct

  2. Verify base URL: https://api.tensorx.ai/v1

  3. Restart: docker restart open-webui

  4. Check logs: docker logs open-webui

Test Your API Key

Update API Key

Check Logs


Security Best Practices

  1. Disable signup after creating admin: ENABLE_SIGNUP=false

  2. Use strong passwords for all accounts

  3. Enable HTTPS via reverse proxy (nginx/Caddy)

  4. Keep updated - pull latest images regularly

  5. Backup regularly - schedule automatic backups

  6. Firewall - only expose to trusted networks


Resources


Need Help?

Last updated

Was this helpful?