Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Cursor Integration

Use Scalekit with Cursor via the local installer while the marketplace listing is under review

Use Scalekit with Cursor by running the local installer, enabling the auth plugin you need, and then prompting Cursor to generate the implementation in your existing codebase.

  1. Terminal
    npx @scalekit-inc/cli setup

    For repeated use, install globally:

    Terminal
    npm install -g @scalekit-inc/cli
    scalekit setup

    The CLI detects Cursor and installs the authstack plugin directly.

  2. Reload and select plugins

    Restart Cursor (or run Developer: Reload Window), then open Settings > Cursor Settings > Plugins.

    Enable the Scalekit plugins you need (AgentKit, SaaSKit, etc.).

  3. Generate the implementation

    Open Cursor’s chat panel with Cmd+L (macOS) or Ctrl+L (Windows/Linux) and paste in an implementation prompt from the feature page (or describe what you need in natural language). The installed Scalekit plugins provide the agent with accurate patterns.

  4. Verify the implementation

    After Cursor finishes generating code, confirm all authentication components are in place:

    • The Scalekit plugin appears in Settings > Cursor Settings > Plugins
    • Scalekit client initialized with your API credentials (set up a .env file with your Scalekit environment variables)
    • Authorization URL generation and callback handler
    • Session or token integration matching your application’s existing patterns