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
- Access token
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. 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>Create the CabinPanda connection
In AgentKit > Connections, create a CabinPanda connection. The name you give it is the
connection_nameyour code passes. See Configure connections.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.actionsconst connector = 'cabinpanda'const identifier = 'user_123'// Generate an authorization link for the userconst { 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 callconst result = await actions.executeTool({connector,identifier,toolName: 'cabinpanda_form_templates_list',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "cabinpanda"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize CabinPanda:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="cabinpanda_form_templates_list",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach 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 toexecute_toolcabinpanda_form_getGet one CabinPanda form with its settings and fields.Read-onlyGet 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-onlyList 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-onlyList 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-onlyList 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-onlyList 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.WriteCreate 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.WriteUpdate 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.DestructiveDelete 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.
No tools match.