Cursor

Add EnterestOS response tracking to a Cursor project.

2 minPrerequisites: Project created in EnterestOS

Problem: You have a React or Next.js project in Cursor with a working form but no response tracking — submissions go to your backend or email with no lifecycle visibility.

Solution: Give Cursor a precise prompt — it installs the SDK, updates only the submit handler, and shows you exactly which files changed.

Steps

  1. 01.Create a project in EnterestOS and copy your project key
  2. 02.Open your project in Cursor
  3. 03.Open Cursor chat with Cmd+L
  4. 04.Paste the prompt below — replacing the project key and submission type
  5. 05.Review the changes Cursor proposes
  6. 06.Accept the changes
  7. 07.Submit a test form
  8. 08.Confirm the submission appears in Inbox under Reply

Prompt to Paste

Connect the existing form to EnterestOS.

Requirements:
- Keep existing design unchanged
- Keep existing validation unchanged
- Keep existing backend logic unchanged
- Install @enterestos/sdk
- Use project key: pk_live_xxx
- Track submission type: demo_request
- Call trackResponse() after successful submit only
- Wrap in try-catch — do not block submission if tracking fails

Show modified files and testing instructions.

What Cursor Changes

  • Adds @enterestos/sdk to package.json
  • Creates EnterestOS client at module level
  • Adds trackResponse() call inside the existing submit handler

Result: You now have EnterestOS integrated into your Cursor project — every form submission tracked without changing your existing code structure.

Common Questions

How do I add EnterestOS to a Next.js project using Cursor?

Open Cursor chat (Cmd+L), paste the integration prompt with your project key, let Cursor make the changes, then submit a test form to verify the submission appears in your Inbox under Reply.

What does Cursor change when I paste the EnterestOS integration prompt?

Cursor adds @enterestos/sdk to package.json, creates the EnterestOS client at module level, and adds a trackResponse() call inside the existing submit handler. It does not change your UI, validation, or any other logic.