Skip to Content

Build with LLM

Using AI IDEs like Cursor can quickly generate SUNBAY API integration code. This document introduces how to use AI tools to accelerate integration development.

Feature Demo

See how developers use Cursor to quickly integrate SUNBAY payment functionality:

Cursor
EXPLORER
ECOMMERCE-PLATFORM
src/main/java
controller
PaymentController.java
WebhookController.java
OrderController.java
ProductController.java
service
model
resources
application.yml
pom.xml
README.md
PaymentController.java & WebhookController.java
Waiting to start...
AI Chat
1. Open Cursor & Documentation
Open your project in Cursor, open SUNBAY docs in browser

Quick Start

We provide SUNBAY documentation to Large Language Models (LLMs) through LLMs.txt  files. This feature helps AI tools better understand our APIs, SDKs, and usage patterns.

Available Resources

We provide LLMs.txt routes to help AI tools access documentation:

  • llms.txt - Structured overview containing all API endpoints and their documentation links

Using in Cursor

In Cursor, use the @Docs feature to reference online documentation (@Docs only supports online URLs, not local files), then provide your requirements:

@Docs https://docs.sunbay.dev/llms.txt

I'm building an e-commerce website and need to integrate SUNBAY's hosted payment page.
The requirements are:
1. After user places an order, redirect to payment page
2. Receive payment success notification via Webhook
3. Support refund functionality

Please help me complete the related code development.

If you want to use local files, you can use the @Files or @Folders features.

Other AI Tools

Any AI tool that supports LLMs.txt can use the above paths to better understand SUNBAY documentation.

Last updated on