Skip to main content

Quick Start Guide

This guide will help you make your first request to Conduit in just a few minutes. It assumes you've already installed Conduit.

Step 1: Access the Web UI

Open your browser and navigate to http://localhost:5001 (or the port you configured).

Step 2: Log In with the Master Key

Enter the master key you configured during installation to access the admin dashboard.

Step 3: Add Provider Credentials

  1. Navigate to Configuration > Provider Credentials
  2. Click Add Provider Credential
  3. Select a provider (e.g., OpenAI)
  4. Enter your API key and other required credentials
  5. Click Save
tip

You only need to add credentials for the providers you intend to use.

Step 4: Create a Virtual Key

  1. Navigate to Virtual Keys
  2. Click Create New Key
  3. Provide a name and description
  4. Set permissions and rate limits
  5. Click Create
  6. Copy the generated key (it starts with condt_)

Step 5: Make Your First Request

Now you can make requests to Conduit using your virtual key. The API is OpenAI-compatible, so you can use existing OpenAI client libraries.

curl http://localhost:5000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer condt_your_virtual_key" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Hello from Conduit!"}]
}'

Next Steps

Now that you've made your first request, you can:

Troubleshooting

If you encounter issues:

  • Ensure your virtual key has the necessary permissions
  • Check that you've added credentials for the provider you're trying to use
  • Verify that the model you're requesting is supported by your configuration
  • Check the server logs for more detailed error information