# VectorShift — Pipedream Connect

> The End-to-End AI Automations Platform

- API slug: `vectorshift` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Artificial Intelligence (AI)
- Website: https://vectorshift.ai/
- This page (HTML): https://pipedream.com/apps/vectorshift
- Tools: 5 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: vectorshift`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "vectorshift",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Add Data to Knowledge Base:
const result = await mcp.callTool({
  name: "vectorshift-add-data-to-knowledge-base",
  arguments: {
    knowledgeBaseId: "Knowledge Base ID",
    url: "URL",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "vectorshift-add-data-to-knowledge-base",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    vectorshift: { authProvisionId: "apn_xxxxxxx" },
    knowledgeBaseId: "Knowledge Base ID",
    url: "URL",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (5)

### `vectorshift-add-data-to-knowledge-base` — Add Data to Knowledge Base (Write)

Adds data to a knowledge base in VectorShift. See the documentation.

Full schema: https://pipedream.com/apps/vectorshift/actions/add-data-to-knowledge-base.md

### `vectorshift-create-pipeline` — Create Pipeline (Write)

Creates a new pipeline in VectorShift. See the documentation

Full schema: https://pipedream.com/apps/vectorshift/actions/create-pipeline.md

### `vectorshift-list-knowledge-base-id-options` — List Knowledge Base ID Options (Read-only)

Retrieves available options for the Knowledge Base ID field.

Full schema: https://pipedream.com/apps/vectorshift/actions/list-knowledge-base-id-options.md

### `vectorshift-list-pipeline-id-options` — List Pipeline ID Options (Read-only)

Retrieves available options for the Pipeline ID field.

Full schema: https://pipedream.com/apps/vectorshift/actions/list-pipeline-id-options.md

### `vectorshift-run-pipeline` — Run Pipeline (Write)

Executes a VectorShift pipeline with specified inputs. See the documentation

Full schema: https://pipedream.com/apps/vectorshift/actions/run-pipeline.md

## Triggers (3)

### `vectorshift-new-chatbot` — New Chatbot Created (Polling)

Emit new event when a chatbot is created.

Full schema: https://pipedream.com/apps/vectorshift/triggers/new-chatbot.md

### `vectorshift-new-knowledge-base` — New Knowledge Base Created (Polling)

Emit new event when a knowledge base is created in Vectorshift.

Full schema: https://pipedream.com/apps/vectorshift/triggers/new-knowledge-base.md

### `vectorshift-new-pipeline` — New Pipeline Created (Polling)

Emit new event when a new pipeline is created in VectorShift.

Full schema: https://pipedream.com/apps/vectorshift/triggers/new-pipeline.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
