Skip to main content

Overview

Cursor works best on Elata apps when it knows how Elata works: the sandbox, the SDK packages, and the upload rules. This page gives you a project context file to paste in, plus prompts for common tasks.

Setup

  1. Install Cursor from cursor.com.
  2. Open your project.
  3. Add a project rule at .cursor/rules/elata.mdc with the context below.

Project context

Save this as a project rule at .cursor/rules/elata.mdc:
.cursor/rules/elata.mdc

Useful prompts

Start a new app

Add the SDK to an existing app

Add a purchase

Save progress

Prepare an upload


Tips

Point the assistant at a package’s llms.txt in node_modules before asking it to write integration code. These files are written for AI tools and list the supported APIs and common mistakes.
  • Start from a create-elata-demo template, then iterate.
  • Test in Elata’s play window before submitting. The sandbox behaves differently from localhost.

Next

Builder Overview

How publishing works

SDK Overview

The Elata SDK packages