IDE / Code Editor

Connect Cursor IDE

Connect SacredAI Heretic to Cursor through the OpenAI-compatible API.

Verified on Cursor v3.11+ (Settings → Models → OpenAI API Key).

Step by step

  1. Create an API key in SacredGPTSacredGPT → API Keys

    In SacredGPT open API Keys, enable 2FA, and create a live key. You will reuse it across agents.

    1. Create an API key in SacredGPT
  2. Open Models in CursorCursor Settings > Models

    Cursor Settings → Models (or Cmd+/Ctrl+, and search OpenAI). Enable Override OpenAI Base URL.

  3. Set Base URL and key

    Base URL: https://sacredgpt.pro/v1. Paste sg_live_… into OpenAI API Key.

    Cursor IDE
    Base URL: https://sacredgpt.pro/v1
    API Key: sg_live_...
  4. Add models

    Add Model with exact IDs: sacredai-heretic.

    Cursor IDE
    sacredai-heretic

Ready-made settings

Replace sg_live_… with your key. For free SacredAI, use the sacredgpt-auto model.

Cursor IDE
{
  "openai.apiBase": "https://sacredgpt.pro/v1",
  "openai.apiKey": "sg_live_9a8b7c6d5e4f3a2b1c0d",
  "cursor.modelNames": [
    "sacredai-heretic"
  ]
}

If it doesn't work

401 Unauthorized Error in Cursor logs

Verify that 2FA is enabled in your SacredGPT account. Live API key issuance requires active 2FA.

SSL Certificate Validation failure

Install your organisation's trusted root certificate in the system trust store. Do not disable TLS verification for the whole process.

No API key yet?

The API is included in your chat plan. SacredAI and 10 Heretic requests are free.

Create a key
Direct line

Found a bug? Show us.

Tell us what happened and what you expected. The page address and browser details help us reproduce it faster.