Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 3.04 KB

File metadata and controls

59 lines (38 loc) · 3.04 KB

import { Steps, Aside } from '@astrojs/starlight/components'

The Scalekit Auth Stack plugin is currently under review and not yet live on [cursor.com/marketplace](https://cursor.com/marketplace). Once approved, you'll be able to install it directly with an "Add to Cursor" button.

Until then, use the local installer to load the plugins into Cursor.

1. ## Install the Scalekit Auth Stack locally
curl -fsSL https://raw.githubusercontent.com/scalekit-inc/cursor-authstack/main/install.sh | bash

This installer downloads the latest Scalekit Cursor plugin bundle and installs each auth plugin into ~/.cursor/plugins/local/<plugin-name>.

If you're developing the plugin repo locally and want changes to show up without recopies, use the local installer path described in the repository README to symlink plugins into `~/.cursor/plugins/local`.
  1. Reload Cursor and enable the plugin

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

    {/* IMAGE PLACEHOLDER: Screenshot of Cursor Settings > Plugins showing Scalekit Auth Stack */}

    Select the authentication plugin you need, such as AgentKit or SaaSKit, and enable it.

    You can also install Scalekit skills with the Vercel Skills CLI:
    npx skills add scalekit-inc/skills

    Use --list to browse available skills or --skill <name> to install a specific auth type. Refer to Cursor's documentation for how to invoke skills once installed.

  2. Generate the implementation

    Open Cursor's chat panel with Cmd+L (macOS) or Ctrl+L (Windows/Linux) and paste in an implementation prompt. Use the same prompt from the corresponding Claude Code tab — the Scalekit plugins and their authentication skills work identically in Cursor.

    Always review AI-generated authentication code before deployment. Verify that environment variables, token validation logic, and error handling match your application's security requirements.
  3. 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

Once the Scalekit Auth Stack is live on cursor.com/marketplace, you'll be able to skip the local installer and install it directly inside Cursor.