Step #0
Please paste your email addresses in this Teams chat window.
Step #1
You would be invited to your Portkey workspace. Please check your email and accept the invite.
You will land on "Shared Team Workspace". From the top left, switch to "PG&E Workshop" workspace.
Step #2
Open a clean new folder. Run the following two commands one after another (from here):
If your are on macOS OR Linux:
- #1: curl -LsSf https://astral.sh/uv/install.sh | sh
- #2: DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve
If you are on Windows (Powershell):
- #1: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- #2: $env:DATA_DIR="C:\open-webui\data"; uvx --python 3.11 open-webui@latest serve
This will spin up OpenWebUI internally.
Step #3
Visit http://localhost:8080/ to access your OpenWebUI setup and create an account.
Step #4
You will have an API key waiting for you here. Copy it.
Step #5
In OpenWebUI, go to "Admin Panel" --> "Settings" --> "Connections"
- Click on "Configure" for "OpenAI API"
- Change the "URL" to https://api.portkey.ai/v1
- In "Auth", keep it as Bearerand paste your Portkey API Key here.
- "Save" this.
Step #6
Click on "New Chat". You will see the list of models populated now.
Step #7
Ask any question!