Setup
- Go to Project Settings → Project Integrations
- Select Xano from the list
- Enter your credentials:
- API Key - Your Xano API key
- Get it from Xano Account Settings
- Instance - Select your Xano instance (populated automatically after entering API key)
- Workspace - Select your Xano workspace (populated automatically after selecting instance)
- API Key - Your Xano API key
- Test the connection
- Start using Xano in your prompts
How It Works
HelloLeo connects to your Xano instance using the Xano API. Your API key is encrypted and stored securely on the backend. The integration supports dynamic instance and workspace selection to help you connect to the right Xano environment.Environment Variables
When you configure Xano, the following environment variables are automatically set up:VITE_XANO_API_URL- Your Xano API URL
Common Operations
Xano provides a flexible backend API platform. You can:- Query databases - Access your Xano database tables
- Call functions - Execute Xano functions and workflows
- Manage data - Create, read, update, and delete records
- Handle authentication - Use Xano’s built-in auth features
Example Usage
Display Data
Create Records
Call Functions
Update Records
Best Practices
- Specify endpoints - Tell Leo which Xano endpoint or function you want to use
- Mention the integration - Always say “from Xano” or “to Xano” so Leo knows which integration to use
- Use environment variables - Reference
VITE_XANO_API_URLin your code to connect to your Xano instance - Test endpoints - Verify your Xano endpoints work before using them in production
Troubleshooting
Connection Issues
- Check API key - Verify your Xano API key is correct
- Instance selection - Make sure you’ve selected the correct instance
- Workspace selection - Ensure you’ve selected the correct workspace
- API key permissions - Verify your API key has access to the instances and workspaces you need
Data Not Showing
- Check endpoint - Verify you’re using the correct Xano endpoint URL
- API permissions - Ensure your API key has read access
- Endpoint configuration - Verify the endpoint is properly configured in Xano
Can’t Create/Update
- Write permissions - Ensure your API key has write access
- Endpoint settings - Check that the endpoint allows POST/PATCH/PUT requests
- Required fields - Make sure all required fields are provided
- Data format - Verify data matches your Xano table schema
