Documentation
Service Providers
Generate API Key

Generating and Configuring Llama API Key for Open WebUI

Navigate to Octo AI Dashboard

Step 1 image

In the top right corner of the OctoAI dashboard, click on your profile icon to access account settings

Step 2 image

Under "API Tokens" click on "Generate Token"

Step 3 image

Enter "Open WebUI" as the access token description.

Step 4 image

Click "Generate"

Step 5 image

Click this icon to copy your secret API token (You will not be able to view this token again. Make sure to save it for later use)

Step 6 image

Head over to Open WebUI Dashboard and click on "Controls" button next to your profile icon in the top right corner.

Step 7 image

Select "Valves" from the menu.

Step 8 image

In the first dropdown, select "Function"

Step 9 image

In the second dropdown, select "OctoAI API"

Step 10 image

Click "Default"

Step 11 image

Paste the OctoAI API token you generated earlier into the "Octoai Api Key" field and press the ENTER key on your keyboard to confirm

Step 12 image

Close the Controls menu

Step 13 image

Click "Select a model"

Step 14 image

Select "OctoAI/llama-3.1-405b"

Step 15 image

Click "Set as default" if this is your preferred LLM (Optional)

Step 16 image

Send a test message to confirm the configuration is working

Step 17 image