Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to CabinPanda

Scalekit connector
Open markdown

The CabinPanda connector lets your AI agent act in each user's CabinPanda account. Each user connects their own CabinPanda access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 8 tools.

Tools
8
What they doRead · write · destructive
5 · 2 · 15 read2 write1 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the CabinPanda connection

    In AgentKit > Connections, create a CabinPanda connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'cabinpanda'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize CabinPanda:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'cabinpanda_form_templates_list',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their CabinPanda credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • cabinpanda_form_getGet one CabinPanda form with its settings and fields.Read-only

    Get Form

    Get one CabinPanda form with its settings and fields. Returns id, key, name, updated_at, detail (style, submit_button_label, success_message), fields (type, key, label, required, options) and receivers. Use this to see a form's field keys and labels. Use cabinpanda_forms_list to find ids.

    Inputs

    form_idintegerrequired
    Numeric form ID (the id field, not the 32-character key). Get it from cabinpanda_forms_list. Example: 129.
  • cabinpanda_form_submissions_listList the submissions of one CabinPanda form, page by page.Read-only

    List Form Submissions

    List the submissions of one CabinPanda form, page by page. Returns data with each submission's id, uid, created_at and values (key, label, field_type_name, value), plus links and meta. Use this to read responses. Use cabinpanda_form_get to map field keys to labels.

    Inputs

    form_idintegerrequired
    Numeric form ID (the id field, not the 32-character key). Get it from cabinpanda_forms_list. Example: 129.
    pageinteger
    Page number, starting at 1. Example: 1.
    per_pageinteger
    Submissions per page. CabinPanda defaults to 50. Example: 20.
  • cabinpanda_form_templates_listList the CabinPanda form design templates (themes).Read-only

    List Form Templates

    List the CabinPanda form design templates (themes). Returns data with each template's id, name, key, style (CSS) and description, plus links and meta. Use this to pick template_id for cabinpanda_form_create.

    Inputs

    pageinteger
    Page number, starting at 1. Example: 1.
    per_pageinteger
    Templates per page. CabinPanda defaults to 20. Example: 20.
  • cabinpanda_form_types_listList the CabinPanda form types, such as regular, conversational, form backend and popup.Read-only

    List Form Types

    List the CabinPanda form types, such as regular, conversational, form backend and popup. Returns data with each type's id, name and key. Use this to pick type_id for cabinpanda_form_create.

    Inputs

    This tool takes no inputs.

  • cabinpanda_forms_listList the forms in your CabinPanda account, page by page.Read-only

    List Forms

    List the forms in your CabinPanda account, page by page. Returns data with each form's id, key, name, updated_at and receivers, plus links and meta (current_page, last_page, total). Use this to find a form id. Use cabinpanda_form_get for a form's fields.

    Inputs

    pageinteger
    Page number, starting at 1. Example: 1.
    per_pageinteger
    Forms per page. CabinPanda defaults to 20. Example: 20.
  • cabinpanda_form_createCreate a new CabinPanda form with its fields, notification receivers and display settings.Write

    Create Form

    Create a new CabinPanda form with its fields, notification receivers and display settings. Returns code, message and data with the new form_id, key and public url. Use cabinpanda_form_types_list and cabinpanda_form_templates_list for type_id and template_id.

    Inputs

    namestringrequired
    Form name. Example: Register Form.
    fieldsarray
    Form fields in display order. Each field needs a label and a type: name, email, phone, address, single_line_text, multi_line_text, dropdown_select, radio_select, multiple_checkboxes, single_checkbox, number, file, date_picker, rich_text, captcha, signature, title or hidden. Layout uses row and column (a 12-column grid); required, hide and readonly are true/false flags, and attributes holds type-specific settings such as placeholder or maxlength. Example: [{"label": "Name", "type": "name", "row": "1", "column": "12", "required": true}, {"label": "Email", "type": "email", "row": "2", "column": "12", "required":...
    receiversarray
    Email addresses notified of new submissions. Example: ["team@example.com"]
    show_errorsstring
    Where validation errors appear: above_the_form or inline. Example: above_the_form.one of above_the_forminline
    submit_button_labelstring
    Text on the submit button. Example: Send.
    success_messagestring
    Message shown after a successful submission. Example: Thanks, we got your message.
    template_idinteger
    Design template ID from cabinpanda_form_templates_list. Example: 1.
    type_idinteger
    Form type ID from cabinpanda_form_types_list, for example 1 for a regular form. Example: 1.
  • cabinpanda_form_updateUpdate a CabinPanda form's name, settings, receivers or fields.Write

    Update Form

    Update a CabinPanda form's name, settings, receivers or fields. Returns code, message and data with form_id, key and url. Send fields only to replace the whole field list. Use cabinpanda_form_get first to see the current fields.

    • Idempotent

    Inputs

    form_idintegerrequired
    Numeric form ID (the id field, not the 32-character key). Get it from cabinpanda_forms_list. Example: 129.
    fieldsarray
    Form fields in display order. Each field needs a label and a type: name, email, phone, address, single_line_text, multi_line_text, dropdown_select, radio_select, multiple_checkboxes, single_checkbox, number, file, date_picker, rich_text, captcha, signature, title or hidden. Layout uses row and column (a 12-column grid); required, hide and readonly are true/false flags, and attributes holds type-specific settings such as placeholder or maxlength. Example: [{"label": "Name", "type": "name", "row": "1", "column": "12", "required": true}, {"label": "Email", "type": "email", "row": "2", "column": "12", "required":...
    namestring
    Form name. Example: Register Form.
    receiversarray
    Email addresses notified of new submissions. Example: ["team@example.com"]
    show_errorsstring
    Where validation errors appear: above_the_form or inline. Example: above_the_form.one of above_the_forminline
    submit_button_labelstring
    Text on the submit button. Example: Send.
    success_messagestring
    Message shown after a successful submission. Example: Thanks, we got your message.
    template_idinteger
    Design template ID from cabinpanda_form_templates_list. Example: 1.
    type_idinteger
    Form type ID from cabinpanda_form_types_list, for example 1 for a regular form. Example: 1.
  • cabinpanda_form_deletePermanently delete a CabinPanda form.Destructive

    Delete Form

    Permanently delete a CabinPanda form. Returns code and message. Use this only when the form and its submissions are no longer needed.

    • Idempotent

    Inputs

    form_idintegerrequired
    Numeric form ID (the id field, not the 32-character key). Get it from cabinpanda_forms_list. Example: 129.