Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apt-get update -qq && \
rm -rf /var/lib/apt/lists/*

# Install dependencies
COPY package.json pnpm-lock.yaml* ./
COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile || pnpm install

# Copy and build
Expand Down
4 changes: 4 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
allowBuilds:
cypress: true
esbuild: true
sharp: true
11 changes: 5 additions & 6 deletions src/content/docs/concepts/connectors.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Connectors
description: Give Sprites access to external APIs without putting provider credentials inside the Sprite
draft: true
---

import { Callout } from '@/components/react';
Expand All @@ -10,10 +9,6 @@ A Sprite that needs to talk to Slack, GitHub, OpenRouter, or another HTTP API ru

Connectors solve this by storing the credential once, in your organization, and routing API calls through the Sprites gateway. Sprites never see the token. You decide which Sprites can use a connector and which provider endpoints they can reach.

<Callout type="info" title="Limited release">
Connectors are currently behind the `connected_services` feature flag. If you don't see a **Connectors** section in your dashboard, this isn't enabled for your organization yet.
</Callout>

## How it works

A connector has three pieces:
Expand Down Expand Up @@ -94,7 +89,11 @@ The connector detail page shows the exact gateway URL for each connector — you

## Endpoint allow- and block-lists

The Access Configuration card also lets you restrict which provider paths a Sprite can reach through the connector. This is useful when a connector has more permission than you want any single Sprite to use, for example, a Slack bot that can post messages should probably not be able to call admin endpoints.
The access policy can also restrict which provider paths a Sprite can reach through the connector. This is useful when a connector has more permission than you want any single Sprite to use, for example, a Slack bot that can post messages should probably not be able to call admin endpoints.

<Callout type="info" title="API only for now">
Endpoint allow- and block-lists aren't yet editable from the dashboard. Set them via the [Connectors API](https://sprites.dev/api/connectors).
</Callout>

Patterns are exact paths or trailing-wildcard prefixes:

Expand Down
4 changes: 4 additions & 0 deletions src/lib/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ export const sidebarConfig: SidebarGroup[] = [
{ label: 'Sprite Maintenance', slug: 'sprite-maintenance' },
],
},
{
label: 'Concepts',
items: [{ label: 'Connectors', slug: 'concepts/connectors' }],
},
{
label: 'CLI Reference',
items: [
Expand Down
Loading