Importing & Exporting AI Connection Configurations
Share AI connection configurations across organizations or create backups with YAML files.Overview
Export your AI connection configurations as YAML files to:- Share AI connection setups with team members or other organizations
- Backup important configurations
- Document your AI connection architecture
- Template common configurations for reuse
Exporting an AI Connection Configuration
Step-by-Step Export
- Navigate to Admin Dashboard → AI Connections tab
- Find the AI connection you want to export
- Hover over the connection card
- Click the Download icon (↓)
- YAML file downloads automatically
{connection-name}-config-{date}.yaml
What Gets Exported
✅ Included:- AI connection name and description
- API endpoint URL
- HTTP method (POST, GET, etc.)
- Header keys (without values)
- Request schema/body structure
- Response path configuration
- Message formatting rules
- Suggestion prompts
- API keys
- Authentication tokens
- Header values (only keys are exported)
- Credentials of any kind
Example Export
Notice that header values are empty - only the keys are included to show what headers are required.
Importing an AI Connection Configuration
Step-by-Step Import
- Navigate to Admin Dashboard → AI Connections tab
- Click the Import button (top-right)
- Upload your YAML file:
- Drag and drop, or
- Click to browse files
- Click Validate to check the configuration
- Review any validation errors
- Click Import AI Connection to create the connection
After Import: Required Steps
Configure Headers
Fill in header values that were excluded from the export:
- Authentication tokens
- API versions
- Content types
Import Options
Replace if exists
Replace if exists
Enable this option to update an existing AI connection with the same name instead of creating a duplicate.
- ✅ Useful for updating configurations
- ⚠️ Will overwrite existing settings
Import API key
Import API key
This option is currently not available for security reasons.
- API keys must be added manually after import
- This prevents accidental credential sharing
Validation Errors
Common validation errors and solutions:Invalid YAML syntax
Invalid YAML syntax
Error: YAML parsing failedSolution: Validate your YAML file with a YAML validator before importing
Missing required fields
Missing required fields
Error: Required field is missingSolution: Ensure these required fields are present:
nameendpointrequest_schemaresponse_pathmessage_format
Invalid endpoint URL
Invalid endpoint URL
Error: Invalid endpoint URLSolution: Ensure endpoint is a valid HTTPS URL
Duplicate connection name
Duplicate connection name
Error: AI connection with this name already existsSolution: Either:
- Enable “Replace if exists” option, or
- Change the AI connection name in your YAML file
Sharing Configurations
Sharing Best Practices
Use Cases
Team Collaboration
Share successful AI connection configurations with your team:Environment Migration
Move configurations between environments:- Development → Export configuration
- Staging → Import and test
- Production → Import verified configuration
Configuration Templates
Create templates for common AI connection types:- Customer Support Bot - Pre-configured for support scenarios
- Code Assistant - Optimized for code generation
- Content Writer - Tuned for creative writing
Backup & Disaster Recovery
Regular backups of critical configurations:- Export all AI connections weekly
- Store in version control
- Quick recovery if needed
Security Considerations
What’s Protected
Never Exported
- API keys
- Authentication tokens
- Header values
- Credentials
- Secrets
Always Exported
- AI connection name
- Endpoint URL
- Header keys
- Request structure
- Configuration settings
Security Best Practices
✅ Do:- Review exported files before sharing
- Share credentials separately and securely
- Use version control for configuration files
- Document which API keys are needed
- Manually add API keys to YAML files
- Share configuration and credentials together
- Commit credentials to git repositories
- Share files publicly without review
Troubleshooting
Export doesn't work
Export doesn't work
Symptoms: Download doesn’t start or failsSolutions:
- Check browser console for errors
- Verify you have permission to access the AI connection
- Try a different browser
- Ensure AI connection exists in database
Import validation fails
Import validation fails
Symptoms: Validation errors during importSolutions:
- Check error messages for specific issues
- Validate YAML syntax with online validator
- Ensure all required fields are present
- Verify endpoint URL is valid HTTPS
Connection doesn't work after import
Connection doesn't work after import
Symptoms: Imported AI connection fails to respondSolutions:
- Verify API key was added correctly
- Check all header values are filled in
- Test the endpoint URL directly
- Review request schema format
Can't find header values
Can't find header values
Symptoms: Don’t know what values to use for headersSolutions:
- Check API provider documentation
- Review the original model configuration
- Contact person who shared the config
- Check with API provider support
Next: Test Your Agents
Learn how to properly test imported AI connection configurations