How to Connect HostGator AI Credits to Open WebUI
Use your HostGator AI Credits balance to run Open WebUI chats. AI Credits flow through the HostGator AI Gateway, a single OpenAI-compatible endpoint that gives you access to GPT, Claude, Gemini, Grok, and other supported models. You skip the extra step of signing up with each model provider separately.
This article assumes you already have Open WebUI running on a HostGator Self-Managed VPS.
Note: You will need an AI Credits API key and Gateway endpoint. If you haven't created a key yet, see How to Manage Your HostGator API Keys. For an overview of how the system works, see Understanding AI Credits. If you don't have a credit balance yet, see How to Purchase HostGator AI Credits.
What You Need Before You Start
- A running Open WebUI instance with an admin account created. (The first person to sign up becomes the global Admin automatically.)
- Admin access to Open WebUI so you can open Admin > Settings > Connections.
- A HostGator account with an AI Credits balance. AI Credits are required to use this connection method.
- An AI Credits API key and your Gateway endpoint URL. Create a key in How to Manage Your HostGator API Keys. New to AI Credits? Start with Understanding AI Credits and How to Purchase HostGator AI Credits.
AI Credits deduct from your prepaid balance instead of billing you directly through the model provider, so you manage one balance and one key across every supported model.
First Time Setup
- Log in to Open WebUI. If this is your first time, select Get started to create your account.

- The first user to register automatically becomes the global Admin.

- Select your profile icon in the bottom-left corner, then select Admin Panel.

- Select Settings from the top menu, then select Connections from the sidebar.

- Under OpenAI API, select the + icon to add a connection.

- Enter your Gateway endpoint in the URL field:
https://gateway.ai.hostgator.com/
- Enter your AI Credits key in the Key field.
- Select the refresh/verify icon to confirm the connection, then select Save.
- Start a new chat, choose a model from the dropdown, and send a message.

Reset Your Open WebUI Password
Open WebUI (like most Linux systems) hashes passwords with bcrypt, so you can't just look up the old one. Instead, update it directly through the command line.
your_server_ip with your server's actual IP address.Step 1: Connect to your server
Step 2: Update the password (Docker installs)
Replace [email protected] and NEW_PASSWORD with your own values, then run:
docker exec -it open-webui python3 -c "
import sqlite3, bcrypt
conn = sqlite3.connect('/app/backend/data/webui.db')
cursor = conn.cursor()
hashed = bcrypt.hashpw('NEW_PASSWORD'.encode('utf-8'), bcrypt.gensalt()).decode('utf-8')
cursor.execute('UPDATE auth SET password=? WHERE email=?', (hashed, '[email protected]'))
conn.commit()
print('Password updated successfully!')"
Alternative: Start fresh with a new admin account
If you'd rather create a brand-new admin account, temporarily turn public sign-up back on.
Stop and remove the existing container:
Start a new one with sign-up enabled:
Open Open WebUI in your browser, select Sign Up, and create your new account.
Adding AI Credits to an Existing Open WebUI Install
If Open WebUI already points at another provider and you want to switch to (or add) AI Credits:
- Log in to Open WebUI and open Admin Panel > Settings > Connections.
- Under OpenAI API, select the + icon to add a new connection.

- Enter your Gateway endpoint in the URL field:
https://gateway.ai.hostgator.com/
- Enter your AI Credits key, select the refresh/verify icon, then select Save.
- Open a new chat, pick a model from the connection you just added, and test it.
Confirm the Connection Works
- Open a new chat in Open WebUI.
- Select a model from the connection you just configured.
- Send a short test message, like “Good morning.”
- A reply confirms the connection is working.

Fix a Common Connection Problem
If your test message doesn't go through, the issue is usually one of a few things. Use the list below to match what you're seeing to the fix.
“Insufficient credits” error
Your AI Credits balance is empty. Check your balance on the AI Tooling page in the HostGator Portal and add more credits.
“Invalid API key” or the connection won't verify
The key is wrong, expired, or was deleted. Copy a fresh key from the HostGator Portal, re-enter it, and select the refresh/verify icon.
No models show up in the dropdown
The connection didn't save, or the URL is missing /v1. Go back to Admin > Settings > Connections and double-check the URL and key.
Chat sends but nothing comes back
No model is selected, or the model belongs to a disconnected provider. Reopen the model dropdown and pick a model from an active, verified connection.