diff --git a/src/components/templates/agent-connectors/_section-after-setup-twitter-common-workflows.mdx b/src/components/templates/agent-connectors/_section-after-setup-twitter-common-workflows.mdx index 560a9ea98..8a0b405b9 100644 --- a/src/components/templates/agent-connectors/_section-after-setup-twitter-common-workflows.mdx +++ b/src/components/templates/agent-connectors/_section-after-setup-twitter-common-workflows.mdx @@ -23,7 +23,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components' identifier: 'user_123', path: '/2/tweets', method: 'POST', - body: { text: 'Hello from Scalekit Agent Auth!' }, + body: { text: 'Hello from Scalekit AgentKit!' }, }); console.log('Posted tweet:', tweet); @@ -55,7 +55,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components' identifier='user_123', path="/2/tweets", method="POST", - body={"text": "Hello from Scalekit Agent Auth!"} + body={"text": "Hello from Scalekit AgentKit!"} ) print("Posted tweet:", tweet) diff --git a/src/components/templates/agent-connectors/_setup-apifymcp.mdx b/src/components/templates/agent-connectors/_setup-apifymcp.mdx index 71e667ad0..e4875da85 100644 --- a/src/components/templates/agent-connectors/_setup-apifymcp.mdx +++ b/src/components/templates/agent-connectors/_setup-apifymcp.mdx @@ -9,7 +9,7 @@ Register your Apify API token with Scalekit so it can authenticate and proxy Act - In the left sidebar, click your avatar → **Settings** → **API & Integrations** → **API tokens**. - - Click **+ Create new token**. Give it a name (e.g., `Agent Auth`) and click **Create token**. + - Click **+ Create new token**. Give it a name (e.g., `AgentKit`) and click **Create token**. - Copy the token immediately — it will not be shown again. diff --git a/src/components/templates/agent-connectors/_setup-attio.mdx b/src/components/templates/agent-connectors/_setup-attio.mdx index fadbdadb8..d6f7e2115 100644 --- a/src/components/templates/agent-connectors/_setup-attio.mdx +++ b/src/components/templates/agent-connectors/_setup-attio.mdx @@ -17,7 +17,7 @@ Register your Attio OAuth app credentials with Scalekit so it can manage the OAu - Click the copy icon next to the Redirect URI to copy it to your clipboard. - Scalekit Agent Auth showing the Redirect URI for the Attio connection + Scalekit AgentKit showing the Redirect URI for the Attio connection Keep this tab open — you'll return to it in step 3. diff --git a/src/components/templates/agent-connectors/_setup-brave-search.mdx b/src/components/templates/agent-connectors/_setup-brave-search.mdx index 5be5ca728..e912c5e44 100644 --- a/src/components/templates/agent-connectors/_setup-brave-search.mdx +++ b/src/components/templates/agent-connectors/_setup-brave-search.mdx @@ -7,7 +7,7 @@ Register your Brave Search API key with Scalekit so it can authenticate and prox - Go to [api.search.brave.com](https://api.search.brave.com) and sign in or create a free account. - - In the left sidebar, click **API Keys** → **+ New Key**. Give it a name (e.g., `Agent Auth`) and click **Create**. + - In the left sidebar, click **API Keys** → **+ New Key**. Give it a name (e.g., `AgentKit`) and click **Create**. - Copy the key immediately — it is shown only once. diff --git a/src/components/templates/agent-connectors/_setup-diarize.mdx b/src/components/templates/agent-connectors/_setup-diarize.mdx index 81c473d55..4d7fe198d 100644 --- a/src/components/templates/agent-connectors/_setup-diarize.mdx +++ b/src/components/templates/agent-connectors/_setup-diarize.mdx @@ -7,7 +7,7 @@ Register your Diarize API key with Scalekit so it can authenticate and proxy tra - Sign in to [diarize.io](https://diarize.io) and go to **Settings** → **API Keys**. - - Click **+ Create New Key**, give it a name (e.g., `Agent Auth`), and confirm. + - Click **+ Create New Key**, give it a name (e.g., `AgentKit`), and confirm. - Copy the key value — store it securely, as you will not be able to view it again. diff --git a/src/components/templates/agent-connectors/_setup-exa.mdx b/src/components/templates/agent-connectors/_setup-exa.mdx index 430eeac22..70ebf124e 100644 --- a/src/components/templates/agent-connectors/_setup-exa.mdx +++ b/src/components/templates/agent-connectors/_setup-exa.mdx @@ -7,7 +7,7 @@ Register your Exa API key with Scalekit so it can authenticate and proxy request - Sign in to [dashboard.exa.ai/api-keys](https://dashboard.exa.ai/api-keys). Under **Management**, click **API Keys**. - - Click **+ Create Key**, enter a name (e.g., `Agent Auth`), and confirm. + - Click **+ Create Key**, enter a name (e.g., `AgentKit`), and confirm. - In the **Secret Key** column, click the eye icon to reveal the key and copy it. Store it somewhere safe — you will not be able to view it again. diff --git a/src/components/templates/agent-connectors/_setup-parallelaitaskmcp.mdx b/src/components/templates/agent-connectors/_setup-parallelaitaskmcp.mdx index 399543859..b9a6bff7b 100644 --- a/src/components/templates/agent-connectors/_setup-parallelaitaskmcp.mdx +++ b/src/components/templates/agent-connectors/_setup-parallelaitaskmcp.mdx @@ -9,7 +9,7 @@ Register your Parallel AI API key with Scalekit so it can authenticate and proxy - Navigate to **Settings** → **API Keys** and click **Create new key**. - - Give the key a name (e.g., `Agent Auth`) and copy it immediately — it will not be shown again. + - Give the key a name (e.g., `AgentKit`) and copy it immediately — it will not be shown again. 2. ## Create a connection in Scalekit diff --git a/src/components/templates/agent-connectors/_setup-supadata.mdx b/src/components/templates/agent-connectors/_setup-supadata.mdx index bc4fa3864..bc4a207ed 100644 --- a/src/components/templates/agent-connectors/_setup-supadata.mdx +++ b/src/components/templates/agent-connectors/_setup-supadata.mdx @@ -10,7 +10,7 @@ Register your Scalekit environment with the Supadata connector so Scalekit can p - Go to [dash.supadata.ai](https://dash.supadata.ai) and sign up or sign in. No credit card is required for the free tier. - After signing in, click **API Keys** in the left sidebar. - Your auto-generated key is listed in the table. Click the key row to reveal or copy it. - - To create a new dedicated key for this integration, click **+ New Key**, give it a name (e.g., `Agent Auth`), and click **Create**. + - To create a new dedicated key for this integration, click **+ New Key**, give it a name (e.g., `AgentKit`), and click **Create**. ![Supadata dashboard showing the API Keys page with existing keys and the New Key button](@/assets/docs/agent-connectors/supadata/supadata-api-key.png) diff --git a/src/components/templates/agent-connectors/_setup-tableau.mdx b/src/components/templates/agent-connectors/_setup-tableau.mdx index b02fb84a2..52c858f49 100644 --- a/src/components/templates/agent-connectors/_setup-tableau.mdx +++ b/src/components/templates/agent-connectors/_setup-tableau.mdx @@ -24,7 +24,7 @@ Scalekit handles session token management automatically. You store your Personal 2. ### Create a connection in Scalekit - - In [Scalekit dashboard](https://app.scalekit.com), go to **Agent Auth** → **Create Connection**. + - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** → **Create Connection**. - Search for **Tableau** and click **Create**. - Note the **Connection name** — use this as `connection_name` in your code (e.g., `tableau`). - Click **Save**. diff --git a/src/components/templates/agent-connectors/_setup-twitter.mdx b/src/components/templates/agent-connectors/_setup-twitter.mdx index 4293a5891..6d6805535 100644 --- a/src/components/templates/agent-connectors/_setup-twitter.mdx +++ b/src/components/templates/agent-connectors/_setup-twitter.mdx @@ -7,7 +7,7 @@ Register your Twitter app credentials with Scalekit so it can manage the OAuth 2 - In [Scalekit dashboard](https://app.scalekit.com), go to **AgentKit** > **Connections** > **Create Connection**. Search for **Twitter** and click **Create**. - ![Search for Twitter and create a new connection in Scalekit Agent Auth](@/assets/docs/agent-connectors/twitter/scalekit-search-twitter.png) + ![Search for Twitter and create a new connection in Scalekit AgentKit](@/assets/docs/agent-connectors/twitter/scalekit-search-twitter.png) - In the **Configure Twitter Connection** panel, copy the **Redirect URI**. It looks like `https:///sso/v1/oauth//callback`. You'll paste this into Twitter in the next step. diff --git a/src/components/templates/agent-connectors/_setup-youtube.mdx b/src/components/templates/agent-connectors/_setup-youtube.mdx index d426763c8..67e4b3e67 100644 --- a/src/components/templates/agent-connectors/_setup-youtube.mdx +++ b/src/components/templates/agent-connectors/_setup-youtube.mdx @@ -40,7 +40,7 @@ Register your Google OAuth 2.0 credentials with Scalekit so it can manage the OA - In Scalekit dashboard, go to **AgentKit** > **Connections** > **Create Connection**. - Scalekit Agent Auth connections page + Scalekit AgentKit connections page - Search for **YouTube** and click **Create**. diff --git a/src/components/templates/coding-agents/_agentkit-claude-code.mdx b/src/components/templates/coding-agents/_agentkit-claude-code.mdx deleted file mode 100644 index ec365641a..000000000 --- a/src/components/templates/coding-agents/_agentkit-claude-code.mdx +++ /dev/null @@ -1,64 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Install the Scalekit Auth Stack - - Not yet on Claude Code? Follow the [official quickstart guide](https://code.claude.com/docs/en/quickstart) to install it. - - Register Scalekit's plugin marketplace and install the Agent Auth plugin in a single command: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install agent-auth@scalekit-auth-stack - ``` - - The marketplace provides specialized authentication plugins that understand Agent Auth patterns and OAuth 2.0 security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure. - -
- Alternative: Enable authentication plugins via plugin wizard - - Run the plugin wizard to browse and enable available plugins: - - ```bash title="Claude REPL" showLineNumbers=false - /plugins - ``` - - Navigate through the visual interface to enable the Agent Auth plugin. - - - -
- -2. ## Generate authentication implementation - - Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready Agent Auth code that includes all required security components. - - Copy the following prompt into your coding agent: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Guide me through configuring the installed Scalekit marketplace plugin to handle agent authentication for Gmail. Provide the code to trigger the auth flow, retrieve the secure user token, and then use that authenticated session to fetch and list the last 5 unread emails. Add logging to verify the flow. - ``` - - When you submit this prompt, Claude Code loads the Agent Auth skill from the marketplace -> analyzes your existing application structure -> generates Scalekit client initialization -> creates connected account management functions -> implements OAuth authorization link generation -> adds token fetching and refresh logic. - - - -3. ## Verify just-in-time implementation - - After the coding agent completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with credentials. You may need to set up a `.env` file with your Scalekit API credentials. - - Connected account management functions - - Authorization link generation - - Token fetching and storage - - Error handling for expired tokens - - The authorization flow should redirect users to the service's consent page, where they grant permissions. Your application should then be able to fetch OAuth tokens and execute actions on behalf of the authenticated user. - -
- -When you connect, the agent authenticates users through the OAuth 2.0 flow you configured. Verify that protected resources require valid access tokens and that the agent can successfully execute actions on behalf of authenticated users. diff --git a/src/components/templates/coding-agents/_agentkit-codex.mdx b/src/components/templates/coding-agents/_agentkit-codex.mdx deleted file mode 100644 index 9676fffe4..000000000 --- a/src/components/templates/coding-agents/_agentkit-codex.mdx +++ /dev/null @@ -1,57 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Install the Scalekit Auth Stack marketplace - - Install Scalekit's Codex-native marketplace to access focused authentication plugins and reusable implementation guidance. - - Run the bootstrap installer: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - - This installer downloads the marketplace from GitHub, installs it into `~/.codex/marketplaces/scalekit-auth-stack`, and only updates `~/.agents/plugins/marketplace.json` when it is safe to do so. - - - -2. ## Enable the Agent Auth plugin - - Restart Codex so it reloads installed marketplaces, then open the Plugin Directory and select **Scalekit Auth Stack**. - - Install the `agent-auth` plugin. This plugin includes the workflows, connector guidance, and references Codex uses to generate Agent Auth code for connected accounts and delegated OAuth flows. - -3. ## Generate the authentication implementation - - Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready Agent Auth code that includes all required security components. - - Copy the following prompt into Codex: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Guide me through configuring the installed Scalekit marketplace plugin to handle agent authentication for Gmail. Provide the code to trigger the auth flow, retrieve the secure user token, and then use that authenticated session to fetch and list the last 5 unread emails. Add logging to verify the flow. - ``` - - When you submit this prompt, Codex loads the Agent Auth plugin from the Scalekit Auth Stack marketplace, analyzes your existing application structure, generates Scalekit client initialization, creates connected account management functions, implements OAuth authorization link generation, and adds token fetching and refresh logic. - - - -4. ## Verify the just-in-time implementation - - After Codex completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with credentials. You may need to set up a `.env` file with your Scalekit API credentials. - - Connected account management functions - - Authorization link generation - - Token fetching and storage - - Error handling for expired tokens - - The authorization flow should redirect users to the service's consent page, where they grant permissions. Your application should then be able to fetch OAuth tokens and execute actions on behalf of the authenticated user. - - - -When you connect, the agent authenticates users through the OAuth 2.0 flow you configured. Verify that protected resources require valid access tokens and that the agent can successfully execute actions on behalf of authenticated users. diff --git a/src/components/templates/coding-agents/_agentkit-github-copilot-cli.mdx b/src/components/templates/coding-agents/_agentkit-github-copilot-cli.mdx deleted file mode 100644 index 81cbf625f..000000000 --- a/src/components/templates/coding-agents/_agentkit-github-copilot-cli.mdx +++ /dev/null @@ -1,74 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Add the Scalekit authstack marketplace - - Need to install GitHub Copilot CLI? See the [getting started guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started) — an active GitHub Copilot subscription is required. - - Register Scalekit's plugin marketplace to access pre-configured authentication plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct Agent Auth code. - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - - The marketplace provides specialized plugins that understand Agent Auth patterns and OAuth 2.0 security requirements. These plugins guide GitHub Copilot to generate implementation code that matches your project structure. - -2. ## Install the Agent Auth plugin - - Install the Agent Auth plugin to give GitHub Copilot the skills needed to generate agent authentication code: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin install agent-auth@scalekit-auth-stack - ``` - -
- Verify the plugin is installed - - Confirm the plugin installed successfully: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin list - ``` - - - -
- -3. ## Generate authentication implementation - - Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready Agent Auth code that includes all required security components. - - Copy the following command into your terminal: - - ```bash wrap title="Terminal" frame="terminal" showLineNumbers=false - copilot "Configure Scalekit agent authentication for Gmail — provide the code to trigger the auth flow, retrieve the secure user token, and then use that authenticated session to fetch and list the last 5 unread emails. Add logging to verify the flow." - ``` - - GitHub Copilot uses the Agent Auth plugin to analyze your existing application structure, generate Scalekit client initialization code, create connected account management functions, implement OAuth authorization link generation, and add token fetching and refresh logic. - - - -4. ## Verify the implementation - - After GitHub Copilot completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with credentials (you may need to set up a `.env` file with your Scalekit API credentials) - - Connected account management functions - - Authorization link generation - - Token fetching and storage - - Error handling for expired tokens - - The authorization flow should redirect users to the service's consent page, where they grant permissions. Your application should then be able to fetch OAuth tokens and execute actions on behalf of the authenticated user. - -
- -When you connect, the agent authenticates users through the OAuth 2.0 flow you configured. Verify that protected resources require valid access tokens and that the agent can successfully execute actions on behalf of authenticated users. diff --git a/src/components/templates/coding-agents/_cursor.mdx b/src/components/templates/coding-agents/_cursor.mdx deleted file mode 100644 index 930800cce..000000000 --- a/src/components/templates/coding-agents/_cursor.mdx +++ /dev/null @@ -1,59 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - - -1. ## Install the Scalekit Auth Stack locally - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - 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/`. - - - -2. ## 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 **Full Stack Auth**, **Modular SSO**, or **MCP Auth**, and enable it. - - - -3. ## 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. - - - -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 - - - -Once the Scalekit Auth Stack is live on [cursor.com/marketplace](https://cursor.com/marketplace), you'll be able to skip the local installer and install it directly inside Cursor. diff --git a/src/components/templates/coding-agents/_fsa-claude-code.mdx b/src/components/templates/coding-agents/_fsa-claude-code.mdx deleted file mode 100644 index b0baa4c7e..000000000 --- a/src/components/templates/coding-agents/_fsa-claude-code.mdx +++ /dev/null @@ -1,65 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack - - Not yet on Claude Code? Follow the [official quickstart guide](https://code.claude.com/docs/en/quickstart) to install it. - - Register Scalekit's plugin marketplace and install the Full Stack Auth plugin in a single command: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install full-stack-auth@scalekit-auth-stack - ``` - - The marketplace provides specialized authentication plugins that understand full-stack auth patterns and OAuth 2.0 security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure. - -
- Alternative: Enable authentication plugins via plugin wizard - - Run the plugin wizard to browse and enable available plugins: - - ```bash title="Claude REPL" showLineNumbers=false - /plugins - ``` - - Navigate through the visual interface to enable the Full Stack Auth plugin. - - - -
- -2. ## Generate authentication implementation - - Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready Full Stack Auth code that includes all required security components. - - Copy the following prompt into your coding agent: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Guide the coding agent to implement Scalekit full-stack auth — initialize ScalekitClient with environment credentials, implement the login redirect, handle the OAuth callback to exchange the code for tokens, store the session securely, and add a logout endpoint that clears the session. Code only. - ``` - - When you submit this prompt, Claude Code loads the Full Stack Auth skill from the marketplace -> analyzes your existing application structure -> generates Scalekit client initialization with environment credentials -> creates the login redirect handler -> implements the OAuth callback to exchange the authorization code for tokens -> adds secure session storage and a logout endpoint. - - - -3. ## Verify the implementation - - After the coding agent completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials (you may need to set up a `.env` file with your Scalekit API credentials) - - Login route that redirects to Scalekit's authorization endpoint - - OAuth callback route that exchanges the code for tokens - - Secure session storage with proper cookie attributes - - Logout endpoint that clears the session - - The login flow should redirect users to Scalekit's authorization page, where they authenticate. Your application should then exchange the returned authorization code for tokens, store the session, and redirect the user to the protected area of your app. - -
- -When you connect, users authenticate through the OAuth 2.0 flow you configured. Verify that protected routes require a valid session and that the logout endpoint properly clears session state. diff --git a/src/components/templates/coding-agents/_fsa-codex.mdx b/src/components/templates/coding-agents/_fsa-codex.mdx deleted file mode 100644 index 92405c3f8..000000000 --- a/src/components/templates/coding-agents/_fsa-codex.mdx +++ /dev/null @@ -1,58 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack marketplace - - Install Scalekit's Codex-native marketplace to access focused authentication plugins and reusable implementation guidance. - - Run the bootstrap installer: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - - This installer downloads the marketplace from GitHub, installs it into `~/.codex/marketplaces/scalekit-auth-stack`, and only updates `~/.agents/plugins/marketplace.json` when it is safe to do so. - - - -2. ## Enable the Full Stack Auth plugin - - Restart Codex so it reloads installed marketplaces, then open the Plugin Directory and select **Scalekit Auth Stack**. - - Install the `full-stack-auth` plugin. This plugin includes the workflows, references, and prompts Codex uses to generate Full Stack Auth code that matches your existing project structure. - -3. ## Generate the authentication implementation - - Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready Full Stack Auth code that includes the core security components. - - Copy the following prompt into Codex: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Guide the coding agent to implement Scalekit full-stack auth — initialize ScalekitClient with environment credentials, implement the login redirect, handle the OAuth callback to exchange the code for tokens, store the session securely, and add a logout endpoint that clears the session. Code only. - ``` - - When you submit this prompt, Codex loads the Full Stack Auth plugin from the Scalekit Auth Stack marketplace, analyzes your existing application structure, generates Scalekit client initialization with environment credentials, creates the login redirect handler, implements the OAuth callback to exchange the authorization code for tokens, and adds secure session storage with a logout endpoint. - - - -4. ## Verify the implementation - - After Codex completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials. You may need to set up a `.env` file with your Scalekit API credentials. - - Login route that redirects to Scalekit's authorization endpoint - - OAuth callback route that exchanges the code for tokens - - Secure session storage with proper cookie attributes - - Logout endpoint that clears session state - - The login flow should redirect users to Scalekit's authorization page, where they authenticate. Your application should then exchange the returned authorization code for tokens, store the session, and redirect the user to the protected area of your app. - - - -When you connect, users authenticate through the OAuth 2.0 flow you configured. Verify that protected routes require a valid session and that the logout endpoint properly clears session state. diff --git a/src/components/templates/coding-agents/_fsa-github-copilot-cli.mdx b/src/components/templates/coding-agents/_fsa-github-copilot-cli.mdx deleted file mode 100644 index 2162d1725..000000000 --- a/src/components/templates/coding-agents/_fsa-github-copilot-cli.mdx +++ /dev/null @@ -1,74 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Add the Scalekit authstack marketplace - - Need to install GitHub Copilot CLI? See the [getting started guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started) — an active GitHub Copilot subscription is required. - - Register Scalekit's plugin marketplace to access pre-configured authentication plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct Full Stack Auth code. - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - - The marketplace provides specialized plugins that understand full-stack auth patterns and OAuth 2.0 security requirements. These plugins guide GitHub Copilot to generate implementation code that matches your project structure. - -2. ## Install the Full Stack Auth plugin - - Install the Full Stack Auth plugin to give GitHub Copilot the skills needed to generate complete authentication code: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin install full-stack-auth@scalekit-auth-stack - ``` - -
- Verify the plugin is installed - - Confirm the plugin installed successfully: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin list - ``` - - - -
- -3. ## Generate authentication implementation - - Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready Full Stack Auth code that includes all required security components. - - Copy the following command into your terminal: - - ```bash wrap title="Terminal" frame="terminal" showLineNumbers=false - copilot "Implement Scalekit full-stack auth — initialize ScalekitClient with environment credentials, implement the login redirect, handle the OAuth callback to exchange the code for tokens, store the session securely, and add a logout endpoint that clears the session. Code only." - ``` - - GitHub Copilot uses the Full Stack Auth plugin to analyze your existing application structure, generate Scalekit client initialization code, create the login redirect handler, implement the OAuth callback for token exchange, add secure session storage, and provide a logout endpoint. - - - -4. ## Verify the implementation - - After GitHub Copilot completes, verify that all authentication components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials (you may need to set up a `.env` file with your Scalekit API credentials) - - Login route that redirects to Scalekit's authorization endpoint - - OAuth callback route that exchanges the code for tokens - - Secure session storage with proper cookie attributes - - Logout endpoint that clears the session - - The login flow should redirect users to Scalekit's authorization page, where they authenticate. Your application should then exchange the returned authorization code for tokens, store the session, and redirect the user to the protected area of your app. - -
- -When you connect, users authenticate through the OAuth 2.0 flow you configured. Verify that protected routes require a valid session and that the logout endpoint properly clears session state. diff --git a/src/components/templates/coding-agents/_github-copilot-cli.mdx b/src/components/templates/coding-agents/_github-copilot-cli.mdx deleted file mode 100644 index 22f816ea1..000000000 --- a/src/components/templates/coding-agents/_github-copilot-cli.mdx +++ /dev/null @@ -1,3 +0,0 @@ -Support for GitHub Copilot CLI is coming soon. Join the [Slack community](https://join.slack.com/t/scalekit-community/shared_invite/zt-3gsxwr4hc-0tvhwT2b_qgVSIZQBQCWRw) to share feedback and get notified when it launches. - -In the meantime, use the implementation prompt from the Claude Code guide with your preferred coding agent. diff --git a/src/components/templates/coding-agents/_mcp-auth-claude-code.mdx b/src/components/templates/coding-agents/_mcp-auth-claude-code.mdx deleted file mode 100644 index 9c0baeed7..000000000 --- a/src/components/templates/coding-agents/_mcp-auth-claude-code.mdx +++ /dev/null @@ -1,118 +0,0 @@ -import { Steps, Aside, Tabs, TabItem } from '@astrojs/starlight/components' -import { Image } from 'astro:assets' -import enableClaudePluginGif from '@/assets/docs/ai-assisted-mcp-quickstart/2.gif' -import skillActivationImage from '@/assets/docs/ai-assisted-mcp-quickstart/skill-activation.png' - - - -1. ## Install the Scalekit Auth Stack - - Not yet on Claude Code? Follow the [official quickstart guide](https://code.claude.com/docs/en/quickstart) to install it. - - Register Scalekit's plugin marketplace and install the MCP Auth plugin in a single command: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install mcp-auth@scalekit-auth-stack - ``` - - The marketplace provides specialized authentication plugins that understand MCP server architectures and OAuth 2.1 security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure. - -
- Alternative: Enable authentication plugins via plugin wizard - - Run the plugin wizard to browse and enable available plugins: - - ```bash title="Claude REPL" showLineNumbers=false - /plugins - ``` - - Navigate through the visual interface to enable the MCP authentication plugin: - - Enabling Scalekit MCP authentication plugin in Claude Code - - - -
- -2. ## Generate authentication implementation - - Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready authentication code that includes all required security components. - - Copy the following prompt into your coding agent: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Add OAuth 2.1 authentication to my MCP server using Scalekit. Initialize ScalekitClient with environment credentials, implement /.well-known/ metadata endpoint for discovery, and add authentication middleware that validates JWT bearer tokens on all MCP requests. Code only. - ``` - - When you submit this prompt, Claude Code loads the MCP authentication skill from the marketplace -> analyzes your existing MCP server structure -> generates authentication middleware with token validation -> creates the OAuth discovery endpoint -> configures environment variable handling. - - Claude Code activating MCP authentication skill - - - -3. ## Verify and test the implementation - - After the coding agent completes, verify that all authentication components are properly configured: - - Check generated files: - - Authentication middleware with JWT validation - - Environment variable configuration (`.env.example`) - - OAuth discovery endpoint (`/.well-known/oauth-authorization-server`) - - Error handling for invalid or expired tokens - - **Test the authentication flow:** - - - - ```md wrap title="Claude REPL" showLineNumbers=false - Now that your MCP server has authentication integrated, let's verify it's working correctly by testing the flow step by step. First, start your MCP server using npm start (Node.js) or python server.py (Python) and confirm it's running without errors. Next, test the OAuth discovery endpoint by running curl http://localhost:3000/.well-known/oauth-authorization-server to verify your server exposes the correct authorization configuration. Then, verify authentication is enforced by calling curl http://localhost:3000/mcp without credentials—this should return a 401 Unauthorized response, confirming protected endpoints are secured. Finally, test with a valid token by running curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/mcp (replace YOUR_TOKEN with an actual access token from your auth provider) to confirm authenticated requests succeed and return the expected response—if all these steps work as described, your authentication implementation is functioning correctly. - ``` - - - ```bash title="Terminal" frame="terminal" - # Start your MCP server - npm start - - # Test discovery endpoint - curl http://localhost:3000/.well-known/oauth-authorization-server - - # Test protected endpoint (should return 401) - curl http://localhost:3000/mcp - - # Test with valid token - curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/mcp - ``` - - - ```bash title="Terminal" frame="terminal" - # Start your MCP server - python server.py - - # Test discovery endpoint - curl http://localhost:3000/.well-known/oauth-authorization-server - - # Test protected endpoint (should return 401) - curl http://localhost:3000/mcp - - # Test with valid token - curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/mcp - ``` - - - - The discovery endpoint should return OAuth configuration metadata. Protected endpoints should reject requests without valid tokens and accept requests with properly scoped access tokens. - -
diff --git a/src/components/templates/coding-agents/_mcp-auth-codex.mdx b/src/components/templates/coding-agents/_mcp-auth-codex.mdx deleted file mode 100644 index 906051199..000000000 --- a/src/components/templates/coding-agents/_mcp-auth-codex.mdx +++ /dev/null @@ -1,71 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack marketplace - - Install Scalekit's Codex-native marketplace to access focused authentication plugins and reusable implementation guidance. - - Run the bootstrap installer: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - - This installer downloads the marketplace from GitHub, installs it into `~/.codex/marketplaces/scalekit-auth-stack`, and only updates `~/.agents/plugins/marketplace.json` when it is safe to do so. - - - -2. ## Enable the MCP Auth plugin - - Restart Codex so it reloads installed marketplaces, then open the Plugin Directory and select **Scalekit Auth Stack**. - - Install the `mcp-auth` plugin. This plugin includes the workflows, framework-specific guidance, and references Codex uses to generate OAuth 2.1 protection for remote MCP servers. - -3. ## Generate the authentication implementation - - Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready authentication code that includes all required security components. - - Copy the following prompt into Codex: - - ```md wrap showLineNumbers=false title="Authentication implementation prompt" - Add OAuth 2.1 authentication to my MCP server using Scalekit. Initialize ScalekitClient with environment credentials, implement /.well-known/ metadata endpoint for discovery, and add authentication middleware that validates JWT bearer tokens on all MCP requests. Code only. - ``` - - When you submit this prompt, Codex loads the MCP Auth plugin from the Scalekit Auth Stack marketplace, analyzes your existing MCP server structure, generates authentication middleware with token validation, creates the OAuth discovery endpoint, and configures environment variable handling. - - - -4. ## Verify and test the implementation - - After Codex completes, verify that all authentication components are properly configured: - - Check generated files: - - Authentication middleware with JWT validation - - Environment variable configuration (`.env.example`) - - OAuth discovery endpoint (`/.well-known/oauth-authorization-server`) - - Error handling for invalid or expired tokens - - Test the authentication flow: - - ```bash title="Terminal" frame="terminal" - # Start your MCP server - npm start - - # Test discovery endpoint - curl http://localhost:3000/.well-known/oauth-authorization-server - - # Test protected endpoint (should return 401) - curl http://localhost:3000/mcp - - # Test with valid token - curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/mcp - ``` - - The discovery endpoint should return OAuth configuration metadata. Protected endpoints should reject requests without valid tokens and accept requests with properly scoped access tokens. - - diff --git a/src/components/templates/coding-agents/_mcp-auth-github-copilot-cli.mdx b/src/components/templates/coding-agents/_mcp-auth-github-copilot-cli.mdx deleted file mode 100644 index 899d87c34..000000000 --- a/src/components/templates/coding-agents/_mcp-auth-github-copilot-cli.mdx +++ /dev/null @@ -1,87 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Add the Scalekit authstack marketplace - - Need to install GitHub Copilot CLI? See the [getting started guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started) — an active GitHub Copilot subscription is required. - - Register Scalekit's plugin marketplace to access pre-configured authentication plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct MCP server authentication code. - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - - The marketplace provides specialized plugins that understand MCP server architectures and OAuth 2.1 security requirements. These plugins guide GitHub Copilot to generate implementation code that matches your project structure. - -2. ## Install the MCP Auth plugin - - Install the MCP Auth plugin to give GitHub Copilot the skills needed to generate OAuth 2.1 authentication code for MCP servers: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin install mcp-auth@scalekit-auth-stack - ``` - -
- Verify the plugin is installed - - Confirm the plugin installed successfully: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin list - ``` - - - -
- -3. ## Generate authentication implementation - - Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready authentication code that includes all required security components. - - Copy the following command into your terminal: - - ```bash wrap title="Terminal" frame="terminal" showLineNumbers=false - copilot "Add OAuth 2.1 authentication to my MCP server using Scalekit. Initialize ScalekitClient with environment credentials, implement /.well-known/ metadata endpoint for discovery, and add authentication middleware that validates JWT bearer tokens on all MCP requests. Code only." - ``` - - GitHub Copilot uses the MCP Auth plugin to analyze your existing MCP server structure, generate authentication middleware with token validation, create the OAuth discovery endpoint, and configure environment variable handling. - - - -4. ## Verify the implementation - - After GitHub Copilot completes, verify that all authentication components are properly configured: - - Check generated files: - - Authentication middleware with JWT validation - - Environment variable configuration (`.env.example`) - - OAuth discovery endpoint (`/.well-known/oauth-authorization-server`) - - Error handling for invalid or expired tokens - - Test the authentication flow: - - ```bash title="Terminal" frame="terminal" - # Start your MCP server - npm start - - # Test discovery endpoint - curl http://localhost:3000/.well-known/oauth-authorization-server - - # Test protected endpoint (should return 401) - curl http://localhost:3000/mcp - - # Test with valid token - curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:3000/mcp - ``` - - The discovery endpoint should return OAuth configuration metadata. Protected endpoints should reject requests without valid tokens and accept requests with properly scoped access tokens. - -
diff --git a/src/components/templates/coding-agents/_scim-claude-code.mdx b/src/components/templates/coding-agents/_scim-claude-code.mdx deleted file mode 100644 index 2cd5a871b..000000000 --- a/src/components/templates/coding-agents/_scim-claude-code.mdx +++ /dev/null @@ -1,64 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack - - Not yet on Claude Code? Follow the [official quickstart guide](https://code.claude.com/docs/en/quickstart) to install it. - - Register Scalekit's plugin marketplace and install the Modular SCIM plugin in a single command: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install modular-scim@scalekit-auth-stack - ``` - - The marketplace provides specialized SCIM plugins that understand directory sync patterns and webhook security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure. - -
- Alternative: Enable SCIM plugins via plugin wizard - - Run the plugin wizard to browse and enable available plugins: - - ```bash title="Claude REPL" showLineNumbers=false - /plugins - ``` - - Navigate through the visual interface to enable the Modular SCIM plugin. - - - -
- -2. ## Generate SCIM implementation - - Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready SCIM code that includes all required security components. - - Copy the following prompt into your coding agent: - - ```md wrap showLineNumbers=false title="SCIM implementation prompt" - Guide the coding agent to add Scalekit SCIM directory sync to my app — set up the webhook endpoint to receive SCIM events, validate the webhook signature, and handle user provisioning and deprovisioning events to create, update, and delete users in my database. Code only. - ``` - - When you submit this prompt, Claude Code loads the Modular SCIM skill from the marketplace -> analyzes your existing application structure -> generates a webhook endpoint to receive SCIM events from Scalekit -> implements webhook signature validation to prevent unauthorized requests -> creates handlers for user provisioning events (create and update) -> adds deprovisioning logic to delete or deactivate users in your database. - - - -3. ## Verify the implementation - - After the coding agent completes, verify that all SCIM components are properly configured: - - Check generated files: - - Webhook endpoint that receives SCIM events from Scalekit (you may need to set up a `.env` file with your Scalekit webhook secret) - - Webhook signature validation to authenticate incoming requests - - User provisioning handler that creates or updates users in your database - - Deprovisioning handler that deletes or deactivates users when they are removed from the identity provider - - The SCIM flow should receive webhook events from Scalekit when users are added, updated, or removed in the connected identity provider. Your application should validate each event's signature, then apply the corresponding change to your user database. - -
- -When directory sync is active, user lifecycle changes in the identity provider propagate automatically to your application. Verify that provisioning events correctly create or update users, and that deprovisioning events properly remove or deactivate accounts. diff --git a/src/components/templates/coding-agents/_scim-codex.mdx b/src/components/templates/coding-agents/_scim-codex.mdx deleted file mode 100644 index e27d659f6..000000000 --- a/src/components/templates/coding-agents/_scim-codex.mdx +++ /dev/null @@ -1,57 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack marketplace - - Install Scalekit's Codex-native marketplace to access focused authentication plugins and reusable implementation guidance. - - Run the bootstrap installer: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - - This installer downloads the marketplace from GitHub, installs it into `~/.codex/marketplaces/scalekit-auth-stack`, and only updates `~/.agents/plugins/marketplace.json` when it is safe to do so. - - - -2. ## Enable the Modular SCIM plugin - - Restart Codex so it reloads installed marketplaces, then open the Plugin Directory and select **Scalekit Auth Stack**. - - Install the `modular-scim` plugin. This plugin includes the workflows, references, and prompts Codex uses to generate SCIM provisioning and deprovisioning code for your application. - -3. ## Generate the SCIM implementation - - Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready SCIM code that includes all required security components. - - Copy the following prompt into Codex: - - ```md wrap showLineNumbers=false title="SCIM implementation prompt" - Guide the coding agent to add Scalekit SCIM directory sync to my app — set up the webhook endpoint to receive SCIM events, validate the webhook signature, and handle user provisioning and deprovisioning events to create, update, and delete users in my database. Code only. - ``` - - When you submit this prompt, Codex loads the Modular SCIM plugin from the Scalekit Auth Stack marketplace, analyzes your existing application structure, generates a webhook endpoint to receive SCIM events from Scalekit, implements webhook signature validation to prevent unauthorized requests, creates handlers for user provisioning events, and adds deprovisioning logic to delete or deactivate users in your database. - - - -4. ## Verify the implementation - - After Codex completes, verify that all SCIM components are properly configured: - - Check generated files: - - Webhook endpoint that receives SCIM events from Scalekit. You may need to set up a `.env` file with your Scalekit webhook secret. - - Webhook signature validation to authenticate incoming requests - - User provisioning handler that creates or updates users in your database - - Deprovisioning handler that deletes or deactivates users when they are removed from the identity provider - - The SCIM flow should receive webhook events from Scalekit when users are added, updated, or removed in the connected identity provider. Your application should validate each event's signature, then apply the corresponding change to your user database. - - - -When directory sync is active, user lifecycle changes in the identity provider propagate automatically to your application. Verify that provisioning events correctly create or update users, and that deprovisioning events properly remove or deactivate accounts. diff --git a/src/components/templates/coding-agents/_scim-github-copilot-cli.mdx b/src/components/templates/coding-agents/_scim-github-copilot-cli.mdx deleted file mode 100644 index 0bb1951d5..000000000 --- a/src/components/templates/coding-agents/_scim-github-copilot-cli.mdx +++ /dev/null @@ -1,74 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Add the Scalekit authstack marketplace - - Need to install GitHub Copilot CLI? See the [getting started guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started) — an active GitHub Copilot subscription is required. - - Register Scalekit's plugin marketplace to access pre-configured SCIM plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct directory sync code. - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - - The marketplace provides specialized plugins that understand directory sync patterns and webhook security requirements. These plugins guide GitHub Copilot to generate implementation code that matches your project structure. - -2. ## Install the Modular SCIM plugin - - Install the Modular SCIM plugin to give GitHub Copilot the skills needed to generate SCIM webhook handling code: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin install modular-scim@scalekit-auth-stack - ``` - -
- Verify the plugin is installed - - Confirm the plugin installed successfully: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin list - ``` - - - -
- -3. ## Generate SCIM implementation - - Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready SCIM code that includes all required security components. - - Copy the following command into your terminal: - - ```bash wrap title="Terminal" frame="terminal" showLineNumbers=false - copilot "Add Scalekit SCIM directory sync to my app — set up the webhook endpoint to receive SCIM events, validate the webhook signature, and handle user provisioning and deprovisioning events to create, update, and delete users in my database. Code only." - ``` - - GitHub Copilot uses the Modular SCIM plugin to analyze your existing application structure, generate a webhook endpoint to receive SCIM events from Scalekit, implement webhook signature validation to prevent unauthorized requests, create handlers for user provisioning events (create and update), and add deprovisioning logic to delete or deactivate users in your database. - - - -4. ## Verify the implementation - - After GitHub Copilot completes, verify that all SCIM components are properly configured: - - Check generated files: - - Webhook endpoint that receives SCIM events from Scalekit (you may need to set up a `.env` file with your Scalekit webhook secret) - - Webhook signature validation to authenticate incoming requests - - User provisioning handler that creates or updates users in your database - - Deprovisioning handler that deletes or deactivates users when they are removed from the identity provider - - The SCIM flow should receive webhook events from Scalekit when users are added, updated, or removed in the connected identity provider. Your application should validate each event's signature, then apply the corresponding change to your user database. - -
- -When directory sync is active, user lifecycle changes in the identity provider propagate automatically to your application. Verify that provisioning events correctly create or update users, and that deprovisioning events properly remove or deactivate accounts. diff --git a/src/components/templates/coding-agents/_skills-cli.mdx b/src/components/templates/coding-agents/_skills-cli.mdx deleted file mode 100644 index 250d3a322..000000000 --- a/src/components/templates/coding-agents/_skills-cli.mdx +++ /dev/null @@ -1,53 +0,0 @@ -import { Steps, Badge } from '@astrojs/starlight/components' - -Scalekit skills work with 40+ AI agents via the [Vercel Skills CLI](https://vercel.com/docs/agent-resources/skills). Install skills to add Scalekit authentication to your agent. - -Supported agents include Claude Code, Cursor, GitHub Copilot CLI, OpenCode, Windsurf, Cline, Gemini CLI, Codex, and 30+ others. - - -1. ## Install interactively - - Run the command with no flags to be guided through the available skills: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - npx skills add scalekit-inc/skills - ``` - -2. ## Browse and install a specific skill - - Install the skill for your auth type (for example, MCP OAuth): - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - # List all available skills - npx skills add scalekit-inc/skills --list - - # Install a specific skill - npx skills add scalekit-inc/skills --skill adding-mcp-oauth - ``` - -3. ## Invoke the skill - - Each coding agent has its own behavior for invoking skills. In OpenCode, skills are invoked **automatically by the agent based on natural language** — no slash commands required. The agent has a list of available skills and their `description` fields in context. It reads your intent, matches it against those descriptions, and autonomously calls the skill tool to load the relevant `SKILL.md`. A clear, specific `description` in skill frontmatter is what the agent uses to decide which skill to invoke. - - **Flow in practice:** - - - You write a natural language message to the agent - - The agent checks its context — it already sees `` with names and descriptions - - If your request matches a skill's purpose, the agent calls `skill("")` internally - - The full `SKILL.md` content loads into context and the agent follows those instructions - - {/* TODO: Add screenshot of OpenCode invoking Scalekit skill - use @/assets/docs/dev-kit/opencode-invoke-skill.png */} - - If your agent does not automatically pick up skills, you can run a command to load a skill and manually select Scalekit's skills to load into context. Refer to your favorite coding agent's documentation for how to invoke skills once they are installed. - -4. ## Install all skills globally - - To add all Scalekit authentication skills to your agents: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - npx skills add scalekit-inc/skills --all --global - ``` - - This installs skills for Full Stack Auth, Agent Auth, MCP Auth, Modular SSO, and Modular SCIM. - - diff --git a/src/components/templates/coding-agents/_sso-claude-code.mdx b/src/components/templates/coding-agents/_sso-claude-code.mdx deleted file mode 100644 index 12e7af49c..000000000 --- a/src/components/templates/coding-agents/_sso-claude-code.mdx +++ /dev/null @@ -1,64 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack - - Not yet on Claude Code? Follow the [official quickstart guide](https://code.claude.com/docs/en/quickstart) to install it. - - Register Scalekit's plugin marketplace and install the Modular SSO plugin in a single command: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install modular-sso@scalekit-auth-stack - ``` - - The marketplace provides specialized authentication plugins that understand SSO patterns and SAML/OIDC security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure. - -
- Alternative: Enable authentication plugins via plugin wizard - - Run the plugin wizard to browse and enable available plugins: - - ```bash title="Claude REPL" showLineNumbers=false - /plugins - ``` - - Navigate through the visual interface to enable the Modular SSO plugin. - - - -
- -2. ## Generate SSO implementation - - Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready SSO code that includes all required security components. - - Copy the following prompt into your coding agent: - - ```md wrap showLineNumbers=false title="SSO implementation prompt" - Guide the coding agent to add Scalekit SSO to my existing app — initialize ScalekitClient, generate an SSO authorization URL for a given organization, handle the SSO callback to validate and exchange the code for user identity, and integrate the SSO user into my existing session system. Code only. - ``` - - When you submit this prompt, Claude Code loads the Modular SSO skill from the marketplace -> analyzes your existing application structure -> generates Scalekit client initialization with environment credentials -> creates an SSO authorization URL generator for organization-based routing -> implements the SSO callback handler to validate and exchange the code for user identity -> integrates SSO user data into your existing session system. - - - -3. ## Verify the implementation - - After the coding agent completes, verify that all SSO components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials (you may need to set up a `.env` file with your Scalekit API credentials) - - SSO authorization URL generation for organization-based routing - - SSO callback handler that validates the authorization code and retrieves user identity - - Integration logic that maps SSO user identity into your existing session system - - The SSO flow should redirect users to their organization's identity provider, where they authenticate. Your application should then receive the callback, validate the code, extract the user's identity, and create or update the user session accordingly. - -
- -When users authenticate through SSO, your application receives verified identity claims from the identity provider. Verify that the SSO callback correctly maps user identity to your application's user model and that the session is created with the appropriate access level. diff --git a/src/components/templates/coding-agents/_sso-codex.mdx b/src/components/templates/coding-agents/_sso-codex.mdx deleted file mode 100644 index 506a3e2cc..000000000 --- a/src/components/templates/coding-agents/_sso-codex.mdx +++ /dev/null @@ -1,57 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - - -1. ## Install the Scalekit Auth Stack marketplace - - Install Scalekit's Codex-native marketplace to access focused authentication plugins and reusable implementation guidance. - - Run the bootstrap installer: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - - This installer downloads the marketplace from GitHub, installs it into `~/.codex/marketplaces/scalekit-auth-stack`, and only updates `~/.agents/plugins/marketplace.json` when it is safe to do so. - - - -2. ## Enable the Modular SSO plugin - - Restart Codex so it reloads installed marketplaces, then open the Plugin Directory and select **Scalekit Auth Stack**. - - Install the `modular-sso` plugin. This plugin includes the workflows, references, and prompts Codex uses to generate SAML and OIDC SSO code for your existing application. - -3. ## Generate the SSO implementation - - Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready SSO code that includes all required security components. - - Copy the following prompt into Codex: - - ```md wrap showLineNumbers=false title="SSO implementation prompt" - Guide the coding agent to add Scalekit SSO to my existing app — initialize ScalekitClient, generate an SSO authorization URL for a given organization, handle the SSO callback to validate and exchange the code for user identity, and integrate the SSO user into my existing session system. Code only. - ``` - - When you submit this prompt, Codex loads the Modular SSO plugin from the Scalekit Auth Stack marketplace, analyzes your existing application structure, generates Scalekit client initialization with environment credentials, creates an SSO authorization URL generator for organization-based routing, implements the SSO callback handler to validate and exchange the code for user identity, and integrates SSO user data into your existing session system. - - - -4. ## Verify the implementation - - After Codex completes, verify that all SSO components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials. You may need to set up a `.env` file with your Scalekit API credentials. - - SSO authorization URL generation for organization-based routing - - SSO callback handler that validates the authorization code and retrieves user identity - - Integration logic that maps SSO user identity into your existing session system - - The SSO flow should redirect users to their organization's identity provider, where they authenticate. Your application should then receive the callback, validate the code, extract the user's identity, and create or update the user session accordingly. - - - -When users authenticate through SSO, your application receives verified identity claims from the identity provider. Verify that the SSO callback correctly maps user identity to your application's user model and that the session is created with the appropriate access level. diff --git a/src/components/templates/coding-agents/_sso-github-copilot-cli.mdx b/src/components/templates/coding-agents/_sso-github-copilot-cli.mdx deleted file mode 100644 index ae237d50f..000000000 --- a/src/components/templates/coding-agents/_sso-github-copilot-cli.mdx +++ /dev/null @@ -1,73 +0,0 @@ -import { Steps, Aside } from '@astrojs/starlight/components' - - -1. ## Add the Scalekit authstack marketplace - - Need to install GitHub Copilot CLI? See the [getting started guide](https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started) — an active GitHub Copilot subscription is required. - - Register Scalekit's plugin marketplace to access pre-configured authentication plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct Modular SSO code. - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - - The marketplace provides specialized plugins that understand SSO patterns and SAML/OIDC security requirements. These plugins guide GitHub Copilot to generate implementation code that matches your project structure. - -2. ## Install the Modular SSO plugin - - Install the Modular SSO plugin to give GitHub Copilot the skills needed to generate SSO code: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin install modular-sso@scalekit-auth-stack - ``` - -
- Verify the plugin is installed - - Confirm the plugin installed successfully: - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin list - ``` - - - -
- -3. ## Generate SSO implementation - - Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready SSO code that includes all required security components. - - Copy the following command into your terminal: - - ```bash wrap title="Terminal" frame="terminal" showLineNumbers=false - copilot "Add Scalekit SSO to my existing app — initialize ScalekitClient, generate an SSO authorization URL for a given organization, handle the SSO callback to validate and exchange the code for user identity, and integrate the SSO user into my existing session system. Code only." - ``` - - GitHub Copilot uses the Modular SSO plugin to analyze your existing application structure, generate Scalekit client initialization code, create an SSO authorization URL generator for organization-based routing, implement the SSO callback handler to validate and exchange the code for user identity, and integrate SSO user data into your existing session system. - - - -4. ## Verify the implementation - - After GitHub Copilot completes, verify that all SSO components are properly configured: - - Check generated files: - - Scalekit client initialization with environment credentials (you may need to set up a `.env` file with your Scalekit API credentials) - - SSO authorization URL generation for organization-based routing - - SSO callback handler that validates the authorization code and retrieves user identity - - Integration logic that maps SSO user identity into your existing session system - - The SSO flow should redirect users to their organization's identity provider, where they authenticate. Your application should then receive the callback, validate the code, extract the user's identity, and create or update the user session accordingly. - -
- -When users authenticate through SSO, your application receives verified identity claims from the identity provider. Verify that the SSO callback correctly maps user identity to your application's user model and that the session is created with the appropriate access level. diff --git a/src/components/templates/coding-agents/index.ts b/src/components/templates/coding-agents/index.ts index 0fae10709..380cc27a2 100644 --- a/src/components/templates/coding-agents/index.ts +++ b/src/components/templates/coding-agents/index.ts @@ -1,18 +1,3 @@ -export { default as AgentAuthClaudeCodeSection } from './_agentkit-claude-code.mdx' -export { default as AgentAuthCodexSection } from './_agentkit-codex.mdx' -export { default as AgentAuthGitHubCopilotCLISection } from './_agentkit-github-copilot-cli.mdx' -export { default as CursorCodingAgentSection } from './_cursor.mdx' -export { default as FSAClaudeCodeSection } from './_fsa-claude-code.mdx' -export { default as FSACodexSection } from './_fsa-codex.mdx' -export { default as FSAGitHubCopilotCLISection } from './_fsa-github-copilot-cli.mdx' -export { default as GitHubCopilotCLISection } from './_github-copilot-cli.mdx' -export { default as MCPAuthClaudeCodeSection } from './_mcp-auth-claude-code.mdx' -export { default as MCPAuthCodexSection } from './_mcp-auth-codex.mdx' -export { default as MCPAuthGitHubCopilotCLISection } from './_mcp-auth-github-copilot-cli.mdx' -export { default as SkillsCLICodingAgentSection } from './_skills-cli.mdx' -export { default as SCIMClaudeCodeSection } from './_scim-claude-code.mdx' -export { default as SCIMCodexSection } from './_scim-codex.mdx' -export { default as SCIMGitHubCopilotCLISection } from './_scim-github-copilot-cli.mdx' -export { default as SSOClaudeCodeSection } from './_sso-claude-code.mdx' -export { default as SSOCodexSection } from './_sso-codex.mdx' -export { default as SSOGitHubCopilotCLISection } from './_sso-github-copilot-cli.mdx' +// All per-agent coding-agent templates have been replaced by the unified +// `npx @scalekit-inc/cli setup` command and the component. +// See src/components/ui/SupportedAgents.astro diff --git a/src/components/templates/index.ts b/src/components/templates/index.ts index ec966980d..ed3413a8b 100644 --- a/src/components/templates/index.ts +++ b/src/components/templates/index.ts @@ -15,23 +15,4 @@ export { default as DirectoryEventsSection } from './_directory-events.mdx' export { default as MCPAuthCodeSamplesCatalog } from './_mcp-integrations.mdx' export { default as AgentAuthCodeSamplesCatalog } from './_agentkit-code-samples.mdx' export { default as FSACodeSamplesCatalog } from './_fsa-code-samples.mdx' -export * from './coding-agents' export * from './agent-connectors' -export { default as FSAClaudeCodeSection } from './coding-agents/_fsa-claude-code.mdx' -export { default as FSACodexSection } from './coding-agents/_fsa-codex.mdx' -export { default as SSOClaudeCodeSection } from './coding-agents/_sso-claude-code.mdx' -export { default as SSOCodexSection } from './coding-agents/_sso-codex.mdx' -export { default as SCIMClaudeCodeSection } from './coding-agents/_scim-claude-code.mdx' -export { default as SCIMCodexSection } from './coding-agents/_scim-codex.mdx' -export { default as AgentAuthClaudeCodeSection } from './coding-agents/_agentkit-claude-code.mdx' -export { default as AgentAuthCodexSection } from './coding-agents/_agentkit-codex.mdx' -export { default as MCPAuthClaudeCodeSection } from './coding-agents/_mcp-auth-claude-code.mdx' -export { default as MCPAuthCodexSection } from './coding-agents/_mcp-auth-codex.mdx' -export { default as FSAGitHubCopilotCLISection } from './coding-agents/_fsa-github-copilot-cli.mdx' -export { default as SSOGitHubCopilotCLISection } from './coding-agents/_sso-github-copilot-cli.mdx' -export { default as SCIMGitHubCopilotCLISection } from './coding-agents/_scim-github-copilot-cli.mdx' -export { default as AgentAuthGitHubCopilotCLISection } from './coding-agents/_agentkit-github-copilot-cli.mdx' -export { default as MCPAuthGitHubCopilotCLISection } from './coding-agents/_mcp-auth-github-copilot-cli.mdx' -export { default as GitHubCopilotCLICodingAgentSection } from './coding-agents/_github-copilot-cli.mdx' -export { default as CursorCodingAgentSection } from './coding-agents/_cursor.mdx' -export { default as SkillsCLICodingAgentSection } from './coding-agents/_skills-cli.mdx' diff --git a/src/components/ui/SupportedAgents.astro b/src/components/ui/SupportedAgents.astro new file mode 100644 index 000000000..085642e63 --- /dev/null +++ b/src/components/ui/SupportedAgents.astro @@ -0,0 +1,109 @@ +--- +import { getIconComponent } from '@/utils/icon-map' +import { Code } from '@astrojs/starlight/components' + +interface Props { + compact?: boolean + hideCommand?: boolean + align?: 'center' | 'left' +} + +const { compact = false, hideCommand = false, align = 'center' } = Astro.props + +const agents = [ + { key: 'claude', label: 'Claude Code' }, + { key: 'cursor', label: 'Cursor' }, + { key: 'githubcopilot', label: 'GitHub Copilot' }, + { key: 'codex', label: 'Codex' }, + { key: 'sparkle', label: '40+ more' }, +] as const +--- + +
+ { + !hideCommand && ( + + ) + } +
+ { + agents.map(({ key, label }) => { + const Icon = getIconComponent(key) + return ( + + + ) + }) + } +
+
+ + diff --git a/src/configs/agent-instructions.ts b/src/configs/agent-instructions.ts index c8a0e6996..4ae40561a 100644 --- a/src/configs/agent-instructions.ts +++ b/src/configs/agent-instructions.ts @@ -1,43 +1,28 @@ /** - * Plugin installation instructions for AI coding agents. + * Unified CLI setup instructions for AI coding agents. * Single source of truth — used across page-actions prompt, llms.txt, copy-markdown button, and meta tag. */ /** HTML comment prepended to copied markdown — read by agents that receive raw page content. */ export const AGENT_PLUGIN_HEADER = ` ` /** Plain-text block for the page-actions prompt (injected into "Open in Claude/Cursor" messages). */ export const AGENT_PLUGIN_INLINE = `Building with AI coding agents? -If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation. +Install the Scalekit Auth Stack with a single command: -Claude Code: claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install @scalekit-auth-stack -GitHub Copilot CLI: copilot plugin marketplace add scalekit-inc/github-copilot-authstack then copilot plugin install @scalekit-auth-stack -Codex: run the bash installer, restart Codex, then open Plugin Directory and enable -Skills CLI (Windsurf, Cline, and 40+ agents): npx skills add scalekit-inc/skills --list then npx skills add scalekit-inc/skills --skill + npx @scalekit-inc/cli setup - / : agentkit, full-stack-auth, mcp-auth, modular-sso, modular-scim +The CLI detects your installed coding agents and configures them with Scalekit's auth plugins. +Supports Claude Code, Cursor, GitHub Copilot, Codex, and 40+ more. Full guide: https://docs.scalekit.com/dev-kit/build-with-ai/` /** @@ -47,24 +32,13 @@ Full guide: https://docs.scalekit.com/dev-kit/build-with-ai/` */ export const AGENT_PLUGIN_DETAILS_MD = `## Building with AI coding agents? -If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation. - -**Claude Code**: -\`claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install @scalekit-auth-stack\` - -**GitHub Copilot CLI**: -1. \`copilot plugin marketplace add scalekit-inc/github-copilot-authstack\` -2. \`copilot plugin install @scalekit-auth-stack\` - -**Codex**: -1. \`curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash\` -2. Restart Codex → open Plugin Directory → select **Scalekit Auth Stack** → install \`\` +Install the Scalekit Auth Stack with a single command: -**Skills CLI** (Windsurf, Cline, and 40+ agents): -1. \`npx skills add scalekit-inc/skills --list\` — see available skills -2. \`npx skills add scalekit-inc/skills --skill \` — install the one you need +\`\`\`bash +npx @scalekit-inc/cli setup +\`\`\` -\`\` / \`\`: \`agentkit\`, \`full-stack-auth\`, \`mcp-auth\`, \`modular-sso\`, \`modular-scim\` +The CLI detects your installed coding agents (Claude Code, Cursor, GitHub Copilot, Codex, and 40+ more) and configures them with Scalekit's auth plugins automatically. [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/) @@ -76,14 +50,7 @@ If you're using an AI coding agent, install the official Scalekit plugin. It giv * Visible markdown block prepended to static .md files fetched directly by agents. * Uses a blockquote with imperative language — visible to agents, not stripped like HTML comments. */ -export const AGENT_PLUGIN_VISIBLE_MD = `> **Building with AI coding agents?** If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation. -> -> - **Claude Code**: \`claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install @scalekit-auth-stack\` -> - **GitHub Copilot CLI**: \`copilot plugin marketplace add scalekit-inc/github-copilot-authstack\` then \`copilot plugin install @scalekit-auth-stack\` -> - **Codex**: run the bash installer, restart, then open Plugin Directory and enable \`\` -> - **Skills CLI** (Windsurf, Cline, 40+ agents): \`npx skills add scalekit-inc/skills --list\` then \`--skill \` -> -> \`\` / \`\`: \`agentkit\`, \`full-stack-auth\`, \`mcp-auth\`, \`modular-sso\`, \`modular-scim\` — [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/) +export const AGENT_PLUGIN_VISIBLE_MD = `> **Building with AI coding agents?** Install the Scalekit Auth Stack with a single command: \`npx @scalekit-inc/cli setup\`. The CLI detects your installed coding agents (Claude Code, Cursor, GitHub Copilot, Codex, and 40+ more) and configures them automatically. [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/) --- @@ -105,9 +72,6 @@ export const AGENT_DOCS_FOOTER = ` /** Single-line string safe for an HTML meta content attribute. */ export const AGENT_PLUGIN_META = - 'Building with AI coding agents? Install the official Scalekit plugin for full API awareness and reduced hallucinations. ' + - 'Claude Code: claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install @scalekit-auth-stack. ' + - 'GitHub Copilot CLI: copilot plugin marketplace add scalekit-inc/github-copilot-authstack then copilot plugin install @scalekit-auth-stack. ' + - 'Codex: run bash installer, restart, enable in Plugin Directory. ' + - 'Skills CLI (Windsurf, Cline, 40+ agents): npx skills add scalekit-inc/skills --list then --skill . ' + + 'Building with AI coding agents? Run: npx @scalekit-inc/cli setup — ' + + 'works with Claude Code, Cursor, GitHub Copilot, Codex, and 40+ agents. ' + 'Guide: https://docs.scalekit.com/dev-kit/build-with-ai/' diff --git a/src/configs/llms.config.ts b/src/configs/llms.config.ts index 54fa423c4..2dcbed755 100644 --- a/src/configs/llms.config.ts +++ b/src/configs/llms.config.ts @@ -16,7 +16,7 @@ for in-depth answers. Load \`llms-full.txt\` only when exhaustive context is nee ## Product → Documentation routing -- **AgentKit** (AI agents, tool calling, connectors) → load Agent Authentication set +- **AgentKit** (AI agents, tool calling, connectors) → load AgentKit documentation set - **AgentKit + specific framework** → fetch the framework page directly (see Framework routing below) - **SaaSKit / FSA** (login, sessions, RBAC) → load SaaSKit Complete set - **MCP Authentication** (OAuth 2.1 for MCP servers) → load MCP Authentication set diff --git a/src/content/docs/agentkit/advanced/overview.mdx b/src/content/docs/agentkit/advanced/overview.mdx index e09281b61..02fe1a927 100644 --- a/src/content/docs/agentkit/advanced/overview.mdx +++ b/src/content/docs/agentkit/advanced/overview.mdx @@ -1,7 +1,7 @@ --- title: Authorization - Overview -description: Learn about authorization options in Agent Auth, including OAuth flows, permissions, and security best practices. -tags: [agentauth, advanced, guide, overview] +description: Learn about authorization options in AgentKit, including OAuth flows, permissions, and security best practices. +tags: [agentkit, advanced, guide, overview] head: - tag: meta attrs: @@ -11,11 +11,11 @@ head: import { LinkCard, CardGrid, Aside, Steps } from '@astrojs/starlight/components'; -Agents that need to take actions on-behalf-of users in third party applications like gmail, calendar, slack, notion, hubspot etc need to do so in a secure, authorized manner. Scalekit's Agent Auth solution helps developers build agents to act on-behalf-of users by managing user's authentication and authorization for those tools. +Agents that need to take actions on-behalf-of users in third party applications like gmail, calendar, slack, notion, hubspot etc need to do so in a secure, authorized manner. Scalekit's AgentKit solution helps developers build agents to act on-behalf-of users by managing user's authentication and authorization for those tools. ## Supported Auth Methods -Agent Auth supports all the different types of authentication and authorization methods that are adopted by different applications so that you don't have to worry about handling and managing user authorization tokens. +AgentKit supports all the different types of authentication and authorization methods that are adopted by different applications so that you don't have to worry about handling and managing user authorization tokens. - OAuth 2.0 - API Keys diff --git a/src/content/docs/agentkit/advanced/proxy-api-calls.mdx b/src/content/docs/agentkit/advanced/proxy-api-calls.mdx index bc359f899..35845bd75 100644 --- a/src/content/docs/agentkit/advanced/proxy-api-calls.mdx +++ b/src/content/docs/agentkit/advanced/proxy-api-calls.mdx @@ -10,7 +10,7 @@ head: --- import { Steps, Aside } from '@astrojs/starlight/components'; -Even though Scalekit Agent Auth offers pre-built connector tools out of the box for the supported applications, if you would like to make direct API calls to the third party applications for any custom behaviour, you can leverage proxy_api tool to directly invoke the third party application. +Even though Scalekit AgentKit offers pre-built connector tools out of the box for the supported applications, if you would like to make direct API calls to the third party applications for any custom behaviour, you can leverage proxy_api tool to directly invoke the third party application. Based on the connected account or user identifier details, Scalekit will automatically inject the user authorization tokens so that API calls to the third application will be successful. diff --git a/src/content/docs/agentkit/authentication/auth-flows-comparison.mdx b/src/content/docs/agentkit/authentication/auth-flows-comparison.mdx index d548c51ec..bb2b50c05 100644 --- a/src/content/docs/agentkit/authentication/auth-flows-comparison.mdx +++ b/src/content/docs/agentkit/authentication/auth-flows-comparison.mdx @@ -1,7 +1,7 @@ --- title: Authentication Methods Comparison description: Compare different authentication methods supported by AgentKit including OAuth 2.0, API Keys, Bearer Tokens, and Custom JWT to choose the right approach. -tags: [agent-auth, authentication, oauth2, api-keys, bearer-tokens, jwt, comparison] +tags: [agentkit, authentication, oauth2, api-keys, bearer-tokens, jwt, comparison] sidebar: order: 4 label: "Auth methods" diff --git a/src/content/docs/agentkit/authentication/multi-provider.mdx b/src/content/docs/agentkit/authentication/multi-provider.mdx index 6ccfcd19d..67cd7f512 100644 --- a/src/content/docs/agentkit/authentication/multi-provider.mdx +++ b/src/content/docs/agentkit/authentication/multi-provider.mdx @@ -16,7 +16,7 @@ head: import { Card, CardGrid, Aside, Steps, Tabs, TabItem } from '@astrojs/starlight/components'; -When building applications with Agent Auth, users often need to connect multiple third-party providers. This guide shows you how to manage multiple authenticated connections per user effectively. +When building applications with AgentKit, users often need to connect multiple third-party providers. This guide shows you how to manage multiple authenticated connections per user effectively. ## Understanding multi-provider scenarios diff --git a/src/content/docs/agentkit/authentication/token-management.mdx b/src/content/docs/agentkit/authentication/token-management.mdx index 84b544848..4770c931f 100644 --- a/src/content/docs/agentkit/authentication/token-management.mdx +++ b/src/content/docs/agentkit/authentication/token-management.mdx @@ -1,7 +1,7 @@ --- title: Token Management description: Learn how Scalekit manages access tokens, refresh tokens, and token lifecycle for AgentKit connections. -tags: [agent-auth, tokens, refresh-token, access-token, token-lifecycle, oauth, authentication] +tags: [agentkit, tokens, refresh-token, access-token, token-lifecycle, oauth, authentication] draft: true sidebar: order: 5 @@ -16,7 +16,7 @@ Token management is a critical aspect of AgentKit that ensures your users' conne ## Understanding tokens -When users authenticate with third-party providers through Agent Auth, Scalekit securely manages several types of tokens: +When users authenticate with third-party providers through AgentKit, Scalekit securely manages several types of tokens: ### Access tokens diff --git a/src/content/docs/agentkit/mcp/tool-access-via-mcp.mdx b/src/content/docs/agentkit/mcp/tool-access-via-mcp.mdx index dc13e0766..2f79f2d4e 100644 --- a/src/content/docs/agentkit/mcp/tool-access-via-mcp.mdx +++ b/src/content/docs/agentkit/mcp/tool-access-via-mcp.mdx @@ -1,7 +1,7 @@ --- title: Give your agent tool access via MCP description: Create a per-user MCP server with whitelisted, pre-authenticated tools; then hand your agent a single URL. -tags: [agent-auth, quickstart, mcp, model-context-protocol, ai-agents, tools] +tags: [agentkit, quickstart, mcp, model-context-protocol, ai-agents, tools] sidebar: label: Tool access via MCP prev: diff --git a/src/content/docs/agentkit/openclaw.mdx b/src/content/docs/agentkit/openclaw.mdx index 1c7ec45ee..16c8c1a30 100644 --- a/src/content/docs/agentkit/openclaw.mdx +++ b/src/content/docs/agentkit/openclaw.mdx @@ -1,7 +1,7 @@ --- title: "OpenClaw skill" description: Connect OpenClaw agents to third-party services through Scalekit. Supports LinkedIn, Notion, Slack, Gmail, and 50+ connectors. -tags: [agent-auth, openclaw, ai-agents, tools, integrations] +tags: [agentkit, openclaw, ai-agents, tools, integrations] sidebar: label: "OpenClaw" prev: diff --git a/src/content/docs/agentkit/quickstart.mdx b/src/content/docs/agentkit/quickstart.mdx index fcd5decca..47a6a6a39 100644 --- a/src/content/docs/agentkit/quickstart.mdx +++ b/src/content/docs/agentkit/quickstart.mdx @@ -1,7 +1,7 @@ --- title: "AgentKit: Connect my agent to apps" description: Build a working agent that makes authenticated tool calls on behalf of users, using Gmail as the example connector. -tags: [agent-auth, quickstart, ai-agents, oauth, token-vault, tool-integration, delegated-oauth] +tags: [agentkit, quickstart, ai-agents, oauth, token-vault, tool-integration, delegated-oauth] sidebar: order: 1 --- @@ -47,46 +47,11 @@ Complete these steps in the Scalekit dashboard before writing any code: Install the Scalekit Auth Stack for your coding agent, complete the browser authorization when prompted, then paste the implementation prompt. The agent scaffolds connected account setup, the OAuth flow, and tool execution. - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install agent-auth@scalekit-auth-stack - ``` + ```bash showLineNumbers=false frame="none" + npx @scalekit-inc/cli setup + ``` - Installing the plugin sets up Scalekit's MCP server and triggers an OAuth authorization flow in your browser. Complete the authorization before continuing. This gives Claude Code direct access to your Scalekit environment to search docs, manage connections, and check connected account status. Then paste the prompt below. - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - Restart Codex → Plugin Directory → **Scalekit Auth Stack** → install **agent-auth**. If a browser authorization prompt appears, complete the OAuth flow before continuing. Then paste the prompt below. - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - copilot plugin install agent-auth@scalekit-auth-stack - ``` - If a browser authorization prompt appears, complete the OAuth flow before continuing. Then run: - ```bash title="Terminal" frame="terminal" showLineNumbers=false wrap - copilot "Configure Scalekit agent authentication for Gmail. Provide code to create a connected account, generate an authorization link, and fetch the last 5 unread emails using Scalekit's tool API." - ``` - - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/cursor-authstack/main/install.sh | bash - ``` - Reload Cursor → **Settings → Plugins** → enable **Agent Auth**. If a browser authorization prompt appears, complete the OAuth flow before continuing. Open chat (Cmd+L / Ctrl+L) and paste the prompt below. - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - npx skills add scalekit-inc/skills --skill integrating-agent-auth - ``` - Then ask your agent: "Configure Scalekit agent authentication for Gmail, create a connected account, generate an authorization link, and fetch the last 5 unread emails using Scalekit's tool API." - - + The CLI detects your installed coding agents and configures them with Scalekit's AgentKit plugin. Complete the browser authorization when prompted. Then paste the prompt below. ```md title="Implementation prompt" wrap showLineNumbers=false Configure Scalekit agent authentication for Gmail. Provide code to create a connected account, generate an authorization link, and, once the user authorizes, fetch the last 5 unread emails using Scalekit's tool API. diff --git a/src/content/docs/agentkit/tools/agent-tools-quickstart.mdx b/src/content/docs/agentkit/tools/agent-tools-quickstart.mdx index 8a6883361..4a02fbe08 100644 --- a/src/content/docs/agentkit/tools/agent-tools-quickstart.mdx +++ b/src/content/docs/agentkit/tools/agent-tools-quickstart.mdx @@ -5,13 +5,13 @@ slug: agentkit/tools/agent-tools-quickstart draft: true sidebar: label: "Quickstart: Agent tools" -tags: [agentauth, tools, execution, modifiers, agentic, langchain, oauth] +tags: [agentkit, tools, execution, modifiers, agentic, langchain, oauth] tableOfContents: true --- import { LinkCard, CardGrid, Aside, Steps, Tabs, TabItem } from '@astrojs/starlight/components'; -Agent Auth supports three approaches to tool calling: execute tools directly with explicit parameters, customize tool behavior with pre- and post-modifiers, or let an LLM select and invoke tools automatically based on user input. +AgentKit supports three approaches to tool calling: execute tools directly with explicit parameters, customize tool behavior with pre- and post-modifiers, or let an LLM select and invoke tools automatically based on user input. ## Find a tool name diff --git a/src/content/docs/agentkit/tools/custom-processors.mdx b/src/content/docs/agentkit/tools/custom-processors.mdx index b53761454..321c912ab 100644 --- a/src/content/docs/agentkit/tools/custom-processors.mdx +++ b/src/content/docs/agentkit/tools/custom-processors.mdx @@ -1,7 +1,7 @@ --- title: Pre and Post Processors -description: Learn how to create pre and post processor workflows that are run before or after tool execution with Agent Auth. -tags: [agentauth, tools, customization, api, integration, guide] +description: Learn how to create pre and post processor workflows that are run before or after tool execution with AgentKit. +tags: [agentkit, tools, customization, api, integration, guide] head: - tag: meta attrs: @@ -9,7 +9,7 @@ head: content: noindex --- -Custom pre and post processors are a way to create custom workflows that are run before or after tool execution with Agent Auth. They are useful for: +Custom pre and post processors are a way to create custom workflows that are run before or after tool execution with AgentKit. They are useful for: - Validating and transforming input data - Processing and Formatting output data diff --git a/src/content/docs/agentkit/tools/overview.mdx b/src/content/docs/agentkit/tools/overview.mdx index afe58c066..382ef197d 100644 --- a/src/content/docs/agentkit/tools/overview.mdx +++ b/src/content/docs/agentkit/tools/overview.mdx @@ -1,7 +1,7 @@ --- title: Tools Overview -description: Learn about tools in Agent Auth - the standardized functions that enable you to perform actions across different third-party providers. -tags: [agent-auth, tools, overview, tool-calling, ai-agents, integrations] +description: Learn about tools in AgentKit - the standardized functions that enable you to perform actions across different third-party providers. +tags: [agentkit, tools, overview, tool-calling, ai-agents, integrations] --- import { Card, CardGrid, Aside, Steps } from '@astrojs/starlight/components'; @@ -14,7 +14,7 @@ For example, if you would like to build an email summarizer agent, there are a f 2. How to authorize these agents access to my gmail account 3. What should be the appropriate input parameters to access gmail based on user context and query -Agent Auth product solves these problems by giving you simple abstractions using our SDK to help you give additional capabilities to the agents you are building regardless of the underlying model and agent framework in three simple steps. +AgentKit product solves these problems by giving you simple abstractions using our SDK to help you give additional capabilities to the agents you are building regardless of the underlying model and agent framework in three simple steps. 1. Use Scalekit SDK to fetch all the appropriate tools 2. Complete user authorization handling in one single line of code @@ -22,7 +22,7 @@ Agent Auth product solves these problems by giving you simple abstractions using ## Tool Metadata -Every tool in Agent Auth follows a consistent structure with a name, description and structured input and output schema. Agentic frameworks like Langchain can work with the underlying LLMs to select the right tool to solve the user's query based on the tool metadata. +Every tool in AgentKit follows a consistent structure with a name, description and structured input and output schema. Agentic frameworks like Langchain can work with the underlying LLMs to select the right tool to solve the user's query based on the tool metadata. ### Sample Tool definition diff --git a/src/content/docs/agentkit/tools/proxy-tools.mdx b/src/content/docs/agentkit/tools/proxy-tools.mdx index 550637278..df9ef063b 100644 --- a/src/content/docs/agentkit/tools/proxy-tools.mdx +++ b/src/content/docs/agentkit/tools/proxy-tools.mdx @@ -1,7 +1,7 @@ --- title: Proxy Tools -description: Learn how to make direct API calls to providers using Agent Auth's proxy tools. -tags: [agentauth, tools, proxy, api, integration, guide] +description: Learn how to make direct API calls to providers using AgentKit's proxy tools. +tags: [agentkit, tools, proxy, api, integration, guide] head: - tag: meta attrs: @@ -379,7 +379,7 @@ const generateTeamReport = { ### Using the API -Register your custom tools with Agent Auth: +Register your custom tools with AgentKit: @@ -443,7 +443,7 @@ The `context` object provides access to: ### Standard tools -Execute any standard Agent Auth tool: +Execute any standard AgentKit tool: ```javascript // Execute standard tools @@ -552,7 +552,7 @@ expect(mockContext.tools.execute).toHaveBeenCalledWith({ ### Integration testing -Test with real Agent Auth: +Test with real AgentKit: ```javascript // Test custom tool with real connections @@ -749,4 +749,4 @@ await agentConnect.tools.deprecate(originalTool.name, '1.0.0'); **Ready to build?** Start with simple custom tools and gradually add complexity. Test thoroughly before deploying to production, and consider the impact on your users when making changes. -Custom tools unlock the full potential of Agent Auth by allowing you to create specialized workflows that perfectly match your business needs. With proper design, testing, and deployment practices, you can build powerful tools that enhance your team's productivity and streamline complex operations. +Custom tools unlock the full potential of AgentKit by allowing you to create specialized workflows that perfectly match your business needs. With proper design, testing, and deployment practices, you can build powerful tools that enhance your team's productivity and streamline complex operations. diff --git a/src/content/docs/authenticate/fsa/quickstart.mdx b/src/content/docs/authenticate/fsa/quickstart.mdx index 0e781ba98..841950689 100644 --- a/src/content/docs/authenticate/fsa/quickstart.mdx +++ b/src/content/docs/authenticate/fsa/quickstart.mdx @@ -36,6 +36,7 @@ import { AuthResultTabsSection } from '@components/templates' import { VideoPlayer } from 'starlight-videos/components' import IconLucidePlay from '~icons/lucide/play' import IconTdesignSequence from '~icons/tdesign/sequence' +import SupportedAgents from '@components/ui/SupportedAgents.astro' You'll implement sign-up, login, and logout flows with secure session management and user management included. The foundation you build here extends to features like workspaces, enterprise SSO, MCP authentication, and SCIM provisioning. @@ -78,37 +79,12 @@ Scalekit handles the complex authentication flow while you focus on your core pr showCta={false} clickable={false} > - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install full-stack-auth@scalekit-auth-stack - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - ```bash title="Codex" showLineNumbers=false frame="none" - # Restart Codex - # Plugin Directory -> Scalekit Auth Stack -> install full-stack-auth - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - ```bash title="Terminal" showLineNumbers=false frame="none" - copilot plugin install full-stack-auth@scalekit-auth-stack - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - npx skills add scalekit-inc/skills --skill implementing-scalekit-fsa - ``` - - + ```bash showLineNumbers=false frame="none" + npx @scalekit-inc/cli setup + ``` + + - [Continue building with AI →](/dev-kit/build-with-ai/full-stack-auth/) ---- diff --git a/src/content/docs/authenticate/mcp/quickstart.mdx b/src/content/docs/authenticate/mcp/quickstart.mdx index 7d60e92b1..8223c978e 100644 --- a/src/content/docs/authenticate/mcp/quickstart.mdx +++ b/src/content/docs/authenticate/mcp/quickstart.mdx @@ -35,6 +35,7 @@ seeAlso: import { CardGrid, Badge, TabItem, Steps, Aside } from '@astrojs/starlight/components'; import FoldCard from '@components/ui/FoldCard.astro'; import Tabs from '@components/ui/Tabs.astro'; +import SupportedAgents from '@components/ui/SupportedAgents.astro'; import { VideoPlayer } from 'starlight-videos/components' import IconLucidePlay from '~icons/lucide/play' @@ -50,37 +51,12 @@ This guide shows you how to add production-ready OAuth 2.1 authorization to your showCta={false} clickable={false} > - - - ```bash title="Terminal" frame="terminal" showLineNumbers=false - claude plugin marketplace add scalekit-inc/claude-code-authstack && claude plugin install mcp-auth@scalekit-auth-stack - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - curl -fsSL https://raw.githubusercontent.com/scalekit-inc/codex-authstack/main/install.sh | bash - ``` - ```bash title="Codex" showLineNumbers=false frame="none" - # Restart Codex - # Plugin Directory -> Scalekit Auth Stack -> install mcp-auth - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - copilot plugin marketplace add scalekit-inc/github-copilot-authstack - ``` - ```bash title="Terminal" showLineNumbers=false frame="none" - copilot plugin install mcp-auth@scalekit-auth-stack - ``` - - - ```bash title="Terminal" showLineNumbers=false frame="none" - npx skills add scalekit-inc/skills --skill adding-mcp-oauth - ``` - - + ```bash showLineNumbers=false frame="none" + npx @scalekit-inc/cli setup + ``` + + - [Continue building with AI →](/dev-kit/build-with-ai/mcp-auth/)
diff --git a/src/content/docs/authenticate/sso/add-modular-sso.mdx b/src/content/docs/authenticate/sso/add-modular-sso.mdx index 44aed9898..9608962d1 100644 --- a/src/content/docs/authenticate/sso/add-modular-sso.mdx +++ b/src/content/docs/authenticate/sso/add-modular-sso.mdx @@ -14,6 +14,7 @@ import { } from '@astrojs/starlight/components'; import FoldCard from '@components/ui/FoldCard.astro'; import Tabs from '@components/ui/Tabs.astro'; +import SupportedAgents from '@components/ui/SupportedAgents.astro'; import InstallSDK from '@components/templates/_installsdk.mdx'; import SimpleCode from '@components/ui/SimpleCode.astro'; import IconLucidePlay from '~icons/lucide/play' @@ -54,8 +55,8 @@ Choose Modular SSO when you: - Need to integrate SSO without changing your existing authentication architecture - Already have existing user management infrastructure -