Back to Harness Catalog
IDE / Code Editor

Cursor IDE Integration Guide

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

Base URL: https://sacredgpt.pro/v1Key: $SACREDGPT_KEYOpenAI-compatible

01 — Version & UI Path

Version Specifics & Navigation

Version Compatibility Note: Verified on Cursor v3.11+ (Settings → Models → OpenAI API Key).

02 — Step-by-Step Setup

Step-by-Step Setup

1

1. Create an API key in SacredGPT

SacredGPT → 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

2. Open Models in Cursor

Cursor Settings > Models

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

3

3. Set Base URL and key

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

Base URL: https://sacredgpt.pro/v1
API Key: sgpt_live_...
4

4. Add models

Add Model with exact IDs: sacredai-heretic.

sacredai-heretic

03 — Configuration Example

ConfigFile Example

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

04 — Troubleshooting

Troubleshooting & Common Issues

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.

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.