Quick Start Guide
This guide will help you integrate your AI application with AltrumAI AI Gateway and verify everything is working correctly. You will be able to verify the gateway integration with a simple chat completion request.Prerequisites
Before you begin, make sure you have:- AI Gateway enabled and accessible in your AltrumAI platform account. This will need an AI System to be created and activated in AltrumAI platform.
- Your API key for at least one AI provider/platform (OpenAI, Anthropic, Google, Bedrock, Azure AI etc.) that you are using in your AI application.
- Basic knowledge of REST APIs.
Step 1: Verify Your Gateway Integration
First, let’s make sure your gateway is enabled and accessible:Gateway Health Check
Response
Step 2: Send Your First Request
Now let’s send a simple chat completion request. This example uses OpenAI, but you can adapt it for any supported provider.Basic Chat Completion
Chat Completion Request
Expected Response
If everything is working correctly, you should receive a response like:Response
Step 3: Check Different Providers (Based on Providers you enabled for your AI System in AltrumAI platform)
Once you have confirmed the basic request works, try testing with different providers:Anthropic Claude
Anthropic Claude Request
Google Gemini
Google Gemini Request
Step 4: Verify Multi-Model Support
Test that you can switch between different models seamlessly:Multi-Model Test
Troubleshooting
Common Issues
Gateway Not RespondingTroubleshooting Commands
- Verify your AltrumAI API key is correct
- Ensure you are using the right provider header
- Verify the model name is correct
- Check that your API key has access to the requested model
- Ensure the AI provider supports the model you are trying to use
- Check your AI provider’s rate & quota limits
Next Steps
Congratulations! Your AI Gateway is working. Now you can:Implement Guardrails
Add content filtering and data protection to secure your AI applications with automated compliance controls.
Monitor Violations
Set up observability and reporting to track AI usage, violations, and compliance status in real-time.
Explore Advanced Features
Try tool calling, streaming, and response formatting to unlock the full potential of your AI Gateway.