Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<img src={scalekitRedirectUriImg.src} alt="Scalekit Agent Auth showing the Redirect URI for the Attio connection" width="540" />
<img src={scalekitRedirectUriImg.src} alt="Scalekit AgentKit showing the Redirect URI for the Attio connection" width="540" />

Keep this tab open — you'll return to it in step 3.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/components/templates/agent-connectors/_setup-exa.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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://<SCALEKIT_ENVIRONMENT_URL>/sso/v1/oauth/<CONNECTION_ID>/callback`. You'll paste this into Twitter in the next step.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Register your Google OAuth 2.0 credentials with Scalekit so it can manage the OA

- In <a href="https://app.scalekit.com" target="_blank" rel="noopener">Scalekit dashboard</a>, go to **AgentKit** > **Connections** > **Create Connection**.

<img src={scalekitAgentAuthImg.src} alt="Scalekit Agent Auth connections page" width="540" />
<img src={scalekitAgentAuthImg.src} alt="Scalekit AgentKit connections page" width="540" />

- Search for **YouTube** and click **Create**.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Steps, Aside } from '@astrojs/starlight/components'

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 to access pre-configured authentication skills. This marketplace provides context-aware prompts and implementation guides that help coding agents generate correct Agent Auth code.
Register Scalekit's plugin marketplace to access pre-configured authentication skills. This marketplace provides context-aware prompts and implementation guides that help coding agents generate correct AgentKit code.

Start the Claude Code REPL:

Expand All @@ -26,7 +26,7 @@ import { Steps, Aside } from '@astrojs/starlight/components'
⎿ Successfully added marketplace: 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.
The marketplace provides specialized authentication plugins that understand AgentKit patterns and OAuth 2.0 security requirements. These plugins guide the coding agent to generate implementation code that matches your project structure.

2. ## Enable authentication plugins

Expand All @@ -35,7 +35,7 @@ import { Steps, Aside } from '@astrojs/starlight/components'
Directly install the specific plugin:

```bash title="Claude REPL" showLineNumbers=false
/plugin install agent-auth@scalekit-auth-stack
/plugin install agentkit@scalekit-auth-stack
```

<details>
Expand All @@ -47,7 +47,7 @@ import { Steps, Aside } from '@astrojs/starlight/components'
/plugins
```

Navigate through the visual interface to enable the Agent Auth plugin.
Navigate through the visual interface to enable the AgentKit plugin.

<Aside type="tip" title="Auto-update recommendations">
Enable auto-updates for authentication plugins to receive security patches and improvements. Scalekit regularly updates plugins based on community feedback and security best practices.
Expand All @@ -57,15 +57,15 @@ import { Steps, Aside } from '@astrojs/starlight/components'

3. ## 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.
Use a structured prompt to direct the coding agent. A well-formed prompt ensures the agent generates complete, production-ready AgentKit 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.
When you submit this prompt, Claude Code loads the AgentKit skills 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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix <Steps> indentation on Line 68.

Line 68 is indented with 4 spaces; step continuation content must use exactly 3 spaces to stay parser-safe.

Suggested fix
-    When you submit this prompt, Claude Code loads the AgentKit skills 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.
+   When you submit this prompt, Claude Code loads the AgentKit skills 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.

As per coding guidelines: “The <Steps> component requires a single continuous <ol>… Continuation content … must be indented with exactly 3 spaces.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/components/templates/coding-agents/_agentkit-claude-code.mdx` at line 68,
The <Steps> component continuation line currently uses 4-space indentation which
breaks the parser; locate the <Steps> block (the line starting "When you submit
this prompt, Claude Code loads...") and change its continuation indentation from
4 spaces to exactly 3 spaces so the <ol> continuation content conforms to the
required parser-safe format for <Steps>.


<Aside type="caution" title="Review generated code">
Always review AI-generated authentication code before deployment. Verify that environment variables, token validation logic, and error handling match your security requirements. The coding agent provides a foundation, but you must ensure it aligns with your application's specific needs.
Expand Down
8 changes: 4 additions & 4 deletions src/components/templates/coding-agents/_agentkit-codex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ import { Steps, Aside } from '@astrojs/starlight/components'
The installer avoids overwriting another personal marketplace by default. If it skips that file, follow the installer's manual path and select the marketplace from `~/.codex/marketplaces/scalekit-auth-stack/.agents/plugins/marketplace.json`.
</Aside>

2. ## Enable the Agent Auth plugin
2. ## Enable the AgentKit 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.
Install the `agentkit` plugin. This plugin includes the workflows, connector guidance, and references Codex uses to generate AgentKit 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.
Use a structured prompt to direct Codex. A well-formed prompt helps Codex generate complete, production-ready AgentKit 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.
When you submit this prompt, Codex loads the AgentKit 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.

<Aside type="caution" title="Review generated code">
Always review AI-generated authentication code before deployment. Verify that environment variables, token validation logic, and error handling match your security requirements. The coding agent provides a foundation, but you must ensure it aligns with your application's specific needs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ import { Steps, Aside } from '@astrojs/starlight/components'

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.
Register Scalekit's plugin marketplace to access pre-configured authentication plugins. This marketplace provides implementation skills that help GitHub Copilot generate correct AgentKit 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.
The marketplace provides specialized plugins that understand AgentKit 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
2. ## Install the AgentKit plugin

Install the Agent Auth plugin to give GitHub Copilot the skills needed to generate agent authentication code:
Install the AgentKit 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
copilot plugin install agentkit@scalekit-auth-stack
```

<details>
Expand All @@ -34,23 +34,23 @@ import { Steps, Aside } from '@astrojs/starlight/components'
Update authentication plugins regularly to receive security patches and improvements:

```bash title="Terminal" frame="terminal" showLineNumbers=false
copilot plugin update agent-auth@scalekit-auth-stack
copilot plugin update agentkit@scalekit-auth-stack
```
</Aside>

</details>

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.
Use a structured prompt to direct GitHub Copilot. A well-formed prompt ensures the agent generates complete, production-ready AgentKit 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.
GitHub Copilot uses the AgentKit 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.

<Aside type="caution" title="Review generated code">
Always review AI-generated authentication code before deployment. Verify that environment variables, token validation logic, and error handling match your security requirements. The coding agent provides a foundation, but you must ensure it aligns with your application's specific needs.
Expand Down
2 changes: 1 addition & 1 deletion src/components/templates/coding-agents/_cursor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Until then, use the local installer to load the plugins into Cursor.

{/* 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.
Select the authentication plugin you need, such as **AgentKit** or **SaaSKit**, and enable it.

<Aside type="note" title="Alternatively: Install via Skills CLI">
You can also install Scalekit skills with the Vercel Skills CLI:
Expand Down
Loading