# Aidbase — Pipedream Connect

> Aidbase - AI-Powered support for your SaaS startup

- API slug: `aidbase` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Artificial Intelligence (AI)
- Website: https://www.aidbase.ai/
- This page (HTML): https://pipedream.com/apps/aidbase
- Tools: 9 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: aidbase`

```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": "aidbase",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Add Question to FAQ:
const result = await mcp.callTool({
  name: "aidbase-add-question-to-faq",
  arguments: {
    faqId: "FAQ ID",
    question: "Question",
  },
})
```

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

## API proxy

For a Aidbase endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.aidbase.ai/v1/status

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuYWlkYmFzZS5haS92MS9zdGF0dXM?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.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: "aidbase-add-question-to-faq",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    aidbase: { authProvisionId: "apn_xxxxxxx" },
    faqId: "FAQ ID",
    question: "Question",
  },
})
```

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

## Actions (9)

### `aidbase-add-question-to-faq` — Add Question to FAQ (Write)

Add a new question to a FAQ in Airbase. See the documentation

Full schema: https://pipedream.com/apps/aidbase/actions/add-question-to-faq.md

### `aidbase-add-video` — Add Video (Write)

Add a video as a piece of knowledge to your Aidbase account. See the documentation

Full schema: https://pipedream.com/apps/aidbase/actions/add-video.md

### `aidbase-create-faq` — Create FAQ (Write)

Create a new frequently asked questions (FAQ) list on your Aidbase account. See the documentation

Full schema: https://pipedream.com/apps/aidbase/actions/create-faq.md

### `aidbase-list-chatbot-id-options` — List Chatbot ID Options (Read-only)

Retrieves available options for the Chatbot ID field.

Full schema: https://pipedream.com/apps/aidbase/actions/list-chatbot-id-options.md

### `aidbase-list-email-inbox-id-options` — List Email Inbox ID Options (Read-only)

Retrieves available options for the Email Inbox ID field.

Full schema: https://pipedream.com/apps/aidbase/actions/list-email-inbox-id-options.md

### `aidbase-list-faq-id-options` — List Faq ID Options (Read-only)

Retrieves available options for the Faq ID field.

Full schema: https://pipedream.com/apps/aidbase/actions/list-faq-id-options.md

### `aidbase-list-knowledge-item-id-options` — List Knowledge Item ID Options (Read-only)

Retrieves available options for the Knowledge Item ID field.

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

### `aidbase-list-ticket-form-id-options` — List Ticket Form ID Options (Read-only)

Retrieves available options for the Ticket Form ID field.

Full schema: https://pipedream.com/apps/aidbase/actions/list-ticket-form-id-options.md

### `aidbase-start-training` — Start Training (Write)

Kick off a training job for a specific piece of knowledge. See the documentation

Full schema: https://pipedream.com/apps/aidbase/actions/start-training.md

## Triggers (3)

### `aidbase-new-chatbot-knowledge-item` — New Chatbot Knowledge Item (Polling)

Emit new event when a new knowledge item is added to a chatbot.

Full schema: https://pipedream.com/apps/aidbase/triggers/new-chatbot-knowledge-item.md

### `aidbase-new-email-inbox-knowledge-item` — New Email Inbox Knowledge Item (Polling)

Emit new event when a new knowledge item is added to an email inbox.

Full schema: https://pipedream.com/apps/aidbase/triggers/new-email-inbox-knowledge-item.md

### `aidbase-new-ticket-form-knowledge-item` — New Ticket Form Knowledge Item (Polling)

Emit new event when a new knowledge item is added to a ticket form.

Full schema: https://pipedream.com/apps/aidbase/triggers/new-ticket-form-knowledge-item.md

---

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