Documentation Index
Fetch the complete documentation index at: https://yieldxyz.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Cursor is an AI-powered IDE that makes it easy to write code while integrating with Yield.xyz APIs. Here’s how to set up Cursor to build with our documentation. This will let you interact with our docs directly and get the most accurate answers to your questions.Quick Setup
Wait for Indexing
Wait until the docs have been fully indexed. You can check the progress in Cursor Settings.
Adding the OpenAPI Spec
For even better API understanding, add the OpenAPI spec:Example Usage
Once set up, you can reference Yield.xyz docs in your prompts:Generate API Calls
Understand Responses
Fix Errors
Build Complete Flows
Recommended Prompts for Yield.xyz
Discovery
Enter Flow
Balance Tracking
Manage Actions
Best Practices
Be Specific
Reference specific endpoints or concepts from the docs
Share Context
Include error messages and your current code
Reference Docs
Always use @Yield.xyz to ground the AI in accurate information
Verify Code
Always test generated code against the actual API
Troubleshooting
Docs not indexing
Docs not indexing
Check that the URL is correct and accessible. Try refreshing Cursor settings.
AI giving outdated information
AI giving outdated information
Make sure to reference @Yield.xyz in your prompt to use the indexed docs rather than training data.
API calls failing
API calls failing
Verify your API key is correct and you’re using the right endpoint format. Check our API Reference.
Next Steps
Prompting Patterns
Effective prompts for Yield.xyz
Guardrails
AI safety best practices

