Cursor Integration

Overview

To get started with Cursor, you will need a personal Lune API key.

Messages sent in Cursor will be logged in your External folder and you will be able to continue your conversations in the Lune web app.

Steps

  1. Navigate to the Cursor settings -> Models -> OpenAI API Key

  2. Override the base URL to https://api.trylune.ai and add your Lune API key.

  3. Click on the Verify button to ensure your API key is functioning. There should be no output from Cursor if it is working.

Usage

Select any OpenAI model such as gpt-4o, and Cursor will send the request to the Lune API.

Note that there will be higher latency when using the Lune API compared to foundational models due to the additional context retrieval steps.