Installation
How to set up Hydra with your development environment.
Web Dashboard
The easiest way to use Hydra is through the web dashboard:
- Visit hydra.opiusai.com (opens in a new tab)
- Sign up or log in with your account
- Create and deploy workflows directly in the browser
No installation required!
IDE Setup
To use Hydra workflows in your IDE, you need to configure the MCP connection.
Claude Code
Add the Hydra MCP server to your Claude Code settings file:
macOS/Linux: ~/.claude/settings.json
Windows: %USERPROFILE%\.claude\settings.json
{
"mcpServers": {
"hydra": {
"url": "YOUR_MCP_ENDPOINT_URL"
}
}
}Replace YOUR_MCP_ENDPOINT_URL with the MCP endpoint from your deployment (Dashboard → Deployments).
Cursor
- Open Cursor Settings (
Cmd/Ctrl + ,) - Navigate to Extensions → MCP Servers
- Click Add Server
- Enter your MCP endpoint URL from Dashboard → Deployments
Codex / OpenAI API
For Codex integration, use the OpenAI API with function calling:
import openai
# Configure with Hydra functions
response = openai.ChatCompletion.create(
model="gpt-4",
messages=[...],
functions=hydra_functions, # Fetched from Hydra API
function_call="auto"
)See the Codex Integration Guide for details.
API Keys
To authenticate with Hydra:
- Go to Dashboard → Settings → API Keys (opens in a new tab)
- Click Generate New Key
- Copy the key (it won't be shown again)
- Use it in your IDE configuration
⚠️
Keep your API keys secure! Never commit them to version control.
Verifying Installation
To verify your setup is working:
- Open your IDE
- Try invoking a Hydra workflow:
List available Hydra workflows - You should see your deployed workflows
Troubleshooting
Connection Failed
- Check that your deployment ID is correct
- Verify your API key is valid
- Ensure you have an active deployment
Workflow Not Found
- Make sure the workflow is deployed (not just created)
- Check that you've enabled the correct adapter for your IDE
Authentication Error
- Regenerate your API key in the dashboard
- Update your IDE configuration with the new key
Next Steps
- Create your first workflow with the Quick Start
- Learn about Core Concepts
- Explore IDE-specific guides